Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

What is the difference between len() and count()?

rust

How to clear the Cargo cache?

rust rust-crates rust-cargo

Why isn't it possible to compare a borrowed integer to a literal integer?

reference rust

Is there any way to restrict a generic type to one of several types?

rust

How do I move values out of an array one at a time?

arrays rust move

How to swap the elements of an array, slice, or Vec?

arrays vector rust slice

What does “`str` does not have a constant size known at compile-time” mean, and what's the simplest way to fix it?

string pointers rust

What is the ..= (dot dot equals) operator in Rust?

syntax rust operators

How do I avoid unwrap when converting a vector of Options or Results to only the successful values?

rust iterator

Is bool guaranteed to be 1 byte?

size rust primitive-types

How to transform fields during deserialization using Serde?

rust hex serde

How to manually return a Result<(), Box<dyn Error>>?

How to implement PartialEq for an enum?

rust

What is the recommended directory structure for a Rust project?

rust

How do I collect the values of a HashMap into a vector?

rust hashmap

Cannot obtain a mutable reference when iterating a recursive structure: cannot borrow as mutable more than once at a time

rust mutable borrowing

Why did Rust remove the green-threading model; what's the disadvantage?

rust green-threads

Automatically implement traits of enclosed type for Rust newtypes (tuple structs with one field)

struct traits rust newtype

In Rust, is a vector an Iterator?

iterator rust

Use of undeclared type or module `std` when used in a separate module

rust rust-obsolete