Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How does one convert a C pointer-to-pointer to a Rust slice of slices?

rust slice ffi

How to "unlock" an RwLock?

multithreading rust mutex

How to sort a part of a vector?

sorting rust

What is the idiomatic way to do something when an Option is either None, or the inner value meets some condition?

rust

How can I put a trait constraint on a type while implementing a trait?

rust traits

Iterating over an enum

rust enums

Unresolved Imports - "help: a similar path exists"

rust

Difference between `&self.stringVal` and `self.stringVal.as_str()`

rust

Iterate slices of size N over some contiguous container

How to call a Rust function in C?

c rust function-pointers ffi

Any way to make Rust understand an `fn(T) -> impl Future` always returns the same type?

generics rust future

Trait associated type lifetime and self

rust lifetime

Is there a way to define a tag field with Serde?

rust serde

Is it possible to have a type with a larger alignment than its own size?

Mapping a type to another type in rust

rust metaprogramming

Why do I get the error "missing field" when deserializing XML with serde-xml-rs, even though the element is present?

xml rust serde

Trying to make bounded floating point types in rust, problem with From and Into

generics rust types traits

If the return value of a function has the same lifetime as one of the arguments, then the return value is considered a borrow of the argument?

Wrapped stream Unpin behaves unintuitively

rust types

I need to use an associated constant in an associated type in Rust

rust types constants traits