Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

Is there a way to store the version information in a Rust compiled executable or library?

dll rust versioning rust-cargo

Why does Rust's if-else AST use different types for then and else?

rust

How does borrowing Box<Trait> contents work?

rust traits borrow-checker

How do I pass a function that creates a struct containing a Cell with a lifetime to another function?

rust lifetime

How can I define a function with a parameter that can be multiple kinds of trait objects?

generics rust traits boxing

Linking to a C++ library that has extern "C" functions

rust ffi

How do I set the lifetime of a return value as the lifetime of the variable I move into it?

rust

How do I destructure a vector without taking a slice?

How can I create Haskell-like functional dependencies

rust

Why does the compiler claim that an associated type from a higher-ranked trait bound doesn't implement `Display` even though it should?

rust formatting traits

Argument requires that _ is borrowed for 'static - how do I work round this?

rust

When to use self, &self, &mut self in methods?

rust

Only show first screenful of compile errors in Rust when building with Cargo?

rust rust-cargo

Force non blocking read with TcpStream

sockets tcp rust

What casts are allowed with `as`?

casting rust

Why would it be necessary to perform two casts to a mutable raw pointer in a row?

pointers casting rust

How to get an Option's value or set it if it's empty?

rust

How can I create hashable trait objects / trait objects with generic method parameters?

generics rust traits

How to set logging level while running cargo test? [duplicate]

logging rust rust-cargo

How do I use a feature of a dependency only for testing?

testing rust rust-cargo