Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

When is it appropriate to use an associated type versus a generic type?

types rust idioms

How to lookup from and insert into a HashMap efficiently?

hashmap rust lookup

Cannot move out of borrowed content / cannot move out of behind a shared reference

How to use a local unpublished crate?

rust rust-crates

Default function arguments in Rust

Is it possible to use global variables in Rust?

global-variables rust

How can I build multiple binaries with Cargo?

rust rust-cargo

How does Rust's 128-bit integer `i128` work on a 64-bit system?

How do I convert a Vector of bytes (u8) to a string?

rust

What is this question mark operator about?

rust

When does a closure implement Fn, FnMut and FnOnce?

rust closures

How can I access command line parameters?

command-line rust

What is the correct way to return an Iterator (or any other trait)?

rust

What is the difference between Copy and Clone?

rust

Why is it discouraged to accept a reference to a String (&String), Vec (&Vec), or Box (&Box) as a function argument?

What is the difference between traits in Rust and typeclasses in Haskell?

haskell rust traits

What is the equivalent of the join operator over a vector of Strings?

string rust

How can a Rust program access metadata from its Cargo package?

rust rust-cargo

What's the de-facto way of reading and writing files in Rust 1.x?

file-io rust

How to include a module from another file from the same project?

rust