Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

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

Convert Vec<String> into a slice of &str in Rust?

How do I return a reference to something inside a RefCell without breaking encapsulation?

How to set a Rust array length dynamically?

arrays rust

How do I convert a string to a list of chars?

rust

Does Rust have a way to apply a function/method to each element in an array or vector?

arrays vector rust

How to get mutable references to two array elements at the same time?

rust

What is the easiest way to pad a string with 0 to the left?