Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How can I convert a bytes::Bytes to a &str without making any copies?

How do I pass an enum variant to match on as a function parameter?

enums rust matching

What is the cited problem with using generic type parameters in trait objects?

Problems with lifetime/borrow on str type

rust lifetime borrowing

Are owned and borrowed strings guaranteed to hash to the same value?

hash rust hashmap

Can I capture some things by reference and others by value in a closure?

rust closures ownership

How to repeat a clone operation except for the last item in a Rust iterator?

rust iterator

why is rust 'pub fn func(&'a mut self)' considered "mutably borrowed" after run?

rust

What does it mean when we let a trait inherits 'static?

rust static traits lifetime

HashMap borrow issue when trying to implement find or insert

rust

Do I have to 'use' a trait in order to call methods defined in that trait?

rust

How to work with a serial port in Rust?

rust serial-port

What do I use to share an object with many threads and one writer in Rust?

rust

Differences between 0..3 and [0, 1, 2].iter()

rust

Why does sorting take so long?

rust

Does the Rust compiler have a profiling option?

profiling rust

Cannot borrow immutable borrowed HashMap cache as mutable in a recursive Fibonacci implementation

rust mutable borrow-checker

Disabling default namespaces

namespaces rust

How to clone last element from vector?

rust

Better way to parse and search a string?

python rust