Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in traits

expected associated type, found type parameter

Is there a way to store a random number generator as a trait object?

rust traits trait-objects

Easier way to return `impl Iterator<Item = T>` with `DoubleEndedIterator`, `ExactSizeIterator` and `FusedIterator` features

generics rust iterator traits

Why isn't the `+ 'static` on my `-> impl Future<...> + 'static` trait method respected?

How can I get a list of types that implement a particular trait in Rust?

rust traits

Implementing a generic incrementable trait in Rust

How do I make a trait bound that requires a fixed size array?

arrays rust traits

How to implement a trait for any iterable type?

Making a negative trait in Rust, opposite of Sized (Unsized)

rust traits

If f32 is not Eq, why does this compile?

Scala: How to inherit the same trait twice?

scala inheritance traits

How to refer to type of impl output in Rust?

rust traits opaque-types

Rust: Implement trait "From" for associated type (Error)

rust traits

How to coerce a Vec of structs to a Vec of trait objects?

rust traits trait-objects

Struct with a generic trait which is also a generic trait

rust traits

Why is tuple_size a trait and not a member

Why don't Deref-like traits compose?

What are the rules for coercing values to trait objects?

rust traits trait-objects

Method cannot be called on Option due to unsatisfied trait bounds, needs to be iterator

rust traits