Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

When should we use a struct as opposed to an enum?

struct enums rust

Why do a Rust function and a FFI C++ function execute in reverse order?

c++ rust

What exactly is a 'crate' in the Cargo ecosystem and what is the mapping to what is on crates.io?

rust rust-cargo rust-crates

Can I randomly sample from a HashSet efficiently?

random rust hashset

Why is an explicit dereference required in (*x).into(), but not in x.my_into()?

How to compare contents an owned vector to a static vector in Rust?

How to use a macro from one crate in another?

macros rust rust-crates

Is it possible to write a Rust macro that will expand into a function/method signature?

Is there any way I could use self from a method as an Rc<RefCell<T>>?

rust

How do I provide a default Debug implementation?

Is it possible for different instances of a generic function to have different static variables?

rust

Why do lifetimes differ when a function is called in a closure vs. being called directly in Rust?

rust

How can I invoke an unknown Rust function with some arguments using reflection?

reflection rust

Strict aliasing in Rust?

Rust (VSCode) Error: spawnSync undefined ENOENT

rust visual-studio-code

Does the Rust actors framework Actix guarantee message order between two actors?

rust actor rust-actix

How to disable loop unrolling in Rust?

performance loops rust

How can I ignore extra tuple items when deserializing with Serde? ("trailing characters" error)

rust serde

Correct idiom for freeing repr(C) structs using Drop trait

c memory rust

Why am I getting "parameter is never used [E0392]"?

rust