Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

What is the syntax to match on a reference to an enum?

rust

What is the difference between a slice and an array?

arrays rust slice coercion

How to opt out of running a doc test?

rust rust-cargo

What is the null pointer optimization in Rust?

rust

How can I swap in a new value for a field in a mutable reference to a structure?

rust

How do I add days to a Chrono UTC?

rust rust-chrono

What is the meaning of 'a: 'a in generic lifetime parameters?

rust lifetime

When should I implement std::convert::From vs std::convert::Into?

rust

Can Cargo download and build dependencies without also building the application?

rust rust-cargo

What is a "fundamental type" in Rust?

rust

Why is using return as the last statement in a function considered bad style?

rust

How can I create an is_prime function that is generic over various integer types?

rust traits

How do I write an iterator that returns references to itself?

iterator rust lifetime

How can I zip more than two iterators?

iterator rust

Why does Rust not have unions?

rust

Is it possible to have stack allocated arrays with the size determined at runtime in Rust?

rust

How can I create my own data structure with an iterator that returns mutable references?

rust lifetime

How can I pattern match against an Option<String>?

rust pattern-matching

How do I convert an enum reference to a number?

rust

What exactly does '#[derive(Debug)]' mean in Rust?

rust