Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Primitive types in rust enums

rust

Why does Box<trait> have a different size than Box<struct>?

polymorphism rust

Why does a slice starting at the length of a string not panic?

syntax rust

How can I get the T from an Option<T> when using syn?

Why does the order of borrowing matter in rust?

rust

Why don't newtypes use the traits from the inner type?

rust newtype

Why are tuples not destructured when iterating over an array of tuples?

rust

How to provide a type-annotation for `AsRef`?

rust

What is the proper way to create a new generic struct?

generics struct rust

Can I cast between two traits?

rust traits

How do I duplicate a &[u8] slice?

rust borrowing

Mutating one field while iterating over another immutable field

rust

How can I truncate a string to have at most N characters?

string unicode rust truncate

Confusing error in Rust with trait object lifetime

rust lifetime trait-objects

Why is it not possible to concatenate two Strings in Rust without taking a reference to one of them?

rust

function is marked #[no_mangle], but not exported

rust

Is it possible to map a function over a Vec without allocating a new Vec?

rust

What does "Stream did not contain valid UTF-8" mean?

utf-8 stream rust

How do I implement the Chain of Responsibility pattern using a chain of trait objects?

Why does Iterator::all return true for an empty iterator?

rust