Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

In Rust, is there a way to iterate through the values of an enum?

enums iteration rust

How I can mutate a struct's field from a method?

rust mutable

How do I find the index of an element in an array, vector or slice?

rust

Why design a language with unique anonymous types?

c++ types rust language-design

What's the difference between `usize` and `u32`?

rust

How do I write a Rust unit test that ensures that a panic has occurred?

unit-testing rust

How to check release / debug builds using cfg in Rust?

How do I get the first character out of a string?

string rust

What is the overhead of Rust's Option type?

How to sort a vector in Rust?

rust

Is it possible to make a type only movable and not copyable?

rust

How do I convert between numeric types safely and idiomatically?

casting rust numbers

What's the difference between placing "mut" before a variable name and after the ":"?

What is a crate attribute and where do I add it?

rust rust-cargo

How do you iterate over a string by character

string iterator rust

How to make a reverse ordered for loop in Rust?

for-loop rust

Step by step interactive debugger for Rust?

debugging rust

When should inline be used in Rust?

rust inline llvm-codegen

Creating a vector of zeros for a specific size

rust

Why is capitalizing the first letter of a string so convoluted in Rust?

string rust uppercase