Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How do I copy a String from a &String while iterating through a Vector?

rust ownership

Equivalent of specific template usage in C++ for Rust

templates rust

Is there a trait for only primitive types that I can use in a generic function?

rust

What does a lifetime mean when returning a conservative impl trait?

generics rust lifetime

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