Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How can I create an efficient iterator of chars from stdin with Rust?

rust stdin chars

How to find the starting offset of a string slice of another string? [duplicate]

string rust

Bitwise or in match?

rust bitwise-operators

What is the standard way to call a mutable method in a Rc-wrapped object?

rust

How to safely reinterpret Vec<f64> as Vec<num_complex::Complex<f64>> with half the size?

rust unsafe

How to match with vector element in Rust?

rust match

What is the equivalent of Java's transient in Serde?

serialization rust serde

Idiomatic way to count occurrences in a collection of Options

rust idioms

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