Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Convert two types into a single type with Serde

Is defining structure inside a function a good way to conceal the structure from other functions?

function rust structure

How do I check whether a vector is equal to another vector that contains NaN and inf?

rust

How can I call a raw address from Rust?

How can I define an async method in a trait?

rust rust-tokio

Is there a way to shorten match expressions of non-Copy types using Option::and_then?

rust

How to extract two integers from a string?

input rust

How can I modify a slice that is a function parameter?

rust

Assign a single value to multiple variables in one line in Rust?

rust syntactic-sugar

How do I deserialize into trait, not a concrete type?

serialization rust serde cbor

How to delete a published crate from crates.io?

rust

How to split string into chunks in Rust to insert spaces

string rust chunks

Calculate distance between two raw pointers

rust ffi

What is the difference between `then`, `and_then` and `or_else` in Rust futures?

rust future

How to make an argument optional based on the presence of another one in structopt?

rust structopt

What is the syntax: `instance.method::<SomeThing>()`?

rust syntax

Partial move of Vec of tuple

rust move move-semantics

How to map a parametrized enum from a generic type to another?

rust

Multi-line string in Rust with preserved leading whitespace

How do I define trait bounds on an associated type?