Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Is it possible to "namespace" Rust macros?

macros module rust

How do I return a &Path from a function?

rust

How do I initialize an opaque C struct when using Rust FFI?

rust ffi

How to have a private part of a trait?

design-patterns rust traits

How to use closures in a nested map?

closures rust

How do I get a Duration as a number of milliseconds in Rust

rust

Why does a File need to be mutable to call Read::read_to_string?

file rust immutability

Can I do type introspection with trait objects and then downcast it?

rust

Struct that owns some data and a reference to the data [duplicate]

How to tell Cargo to use a git repository as source for an indirect dependency instead of crates.io?

rust rust-cargo

Why isn't `regex!` a wrapper for `Regex::new` to offer the same regex matching speed?

rust rust-compiler-plugin

How to make a public struct where all fields are public without repeating `pub` for every field?

struct rust public rust-macros

How to get current platform end of line character sequence in Rust?

rust line-breaks

When should I use a reference instead of transferring ownership?

WebAssembly InstantiateStreaming Wrong MIME type

How can I keep a reference to a key after it has been inserted into a HashMap?

rust

Can I take a byte array and deserialize it into a struct?

rust

Is there a way to create a data type that only accepts a range of values?

types rust

Error handling best-practices

rust

How to specify the path to a Cargo.toml

rust rust-cargo