Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How can I implement Borrow, ToOwned, or Deref for an enum?

enums rust

Implementing Borrow<Trait> for a type that implements Trait

rust

Populating a static/const with an environment variable at runtime in Rust

How can I make my Rust function more generic & efficient?

How can I print a date/time from time::strftime without leading zeros?

time rust strftime

Lifetime annotation for closure argument

rust lifetime

Easily convert third party Errors to String

rust

Why are borrows of struct members allowed in &mut self, but not of self to immutable methods?

Create Vec<String> from literal

rust

How to deserialize into a enum variant based on a key name?

Generic function accepting &str or moving String without copying

Open file in read-write mode in Rust [duplicate]

file rust

How to import all macros, derives, and procedural macros in Rust 2018 without using extern crate?

rust rust-2018

Can a trait give a default implementation for the method of a trait that it inherits from?

rust traits

What is the evaluation order of tuples in Rust?

Why can Serde not derive Deserialize for a struct containing only a &Path?

rust serde

Should I pass function objects by value or by reference?

rust

How to group imports in Rust with conditional compilation?

import rust package

Can I use an async fn as a handler in Rocket?

What's the best practice for creating instances of a struct?

struct rust