Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

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

Which version of the rust compiler was used to build a given linux binary?

rust

How is np.repeat so fast?

python arrays numpy rust

Minimum between two lifetimes

rust lifetime

How to read multiple lines from stdin until EOF?

c++ rust

"no rules expected the token `<`" when passing a type as an ident to macro_rules

rust

How can I use PhantomData in a struct, with raw pointers, such that the struct does not outlive the lifetime of the referenced other struct?

rust

How to create UnsafeCell<c_void> safely?

rust unsafe

Map a Vec of structures to another Vec of structure in Rust without cloning

Is it possible to read characters from `io::stdin()` without caching input line-by-line?

string rust stdin