Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Why associated types in rust need explicit lifetime annotation?

rust

What is the right way to share a reference between closures if the value outlives the closures?

rust

How do lifetimes in Rust work for a function?

rust lifetime

How can I sort a vector of floats in Rust? [duplicate]

sorting rust floating-point

How can one share the code between tests and benches in Rust?

Unicode codepoint to Rust string

rust unicode utf-8

How to access fields of dyn structs?

rust dynamic-dispatch

What's the best way to register a function to run during an unexpected exit of a Rust program?

rust exit atexit

Is this the idiomatic way to make self-referential structures?

rust

How can you iterate and change the values in a mutable array in Rust?

rust

How to activate an optional dependency?

rust rust-cargo

Are Rust smart pointers std::rc::Rc and std::sync::Arc analogous to the C++ smart pointers std::shared_ptr and std::atomic_shared_ptr respectively?

c++ rust smart-pointers

How do I convert a Rust numeric type but only if it fits? [duplicate]

rust

Removing hash extension from cargo dylib naming

Type-level Map in Rust

Why can you specify multiple generic lifetimes on functions?

rust lifetime

In Rust `map_or` and `map_or_else` method of `Option`/`Result`, what's lazy/eager evaluation?

Can I pass a Arc<dyn MyTrait> to a function that expects Arc<impl MyTrait>?

rust types traits dispatch

How can I create an Rc<RefCell<_>> to something that already exists?

rust

Actix System, multiple arbiters = how many threads