Search code examples
What exactly is the requirement for "covering" a type & why does a single element tupl...


rustcompiler-errorstrait-objects

Read More
How to pass a boxed trait object by value in Rust?...


rusttraitstrait-objects

Read More
How to make type-erased version of a trait with associated type?...


rustassociated-typestrait-objects

Read More
Can I have a collection over trait objects where their associated types implement a shared trait?...


rustassociated-typesdynamic-dispatchtrait-objects

Read More
rust generic type with trait bound when use trait objects...


rusttrait-objects

Read More
Get mutable reference to an item in trait objects collection...


rustcollectionstrait-objectsmutable-reference

Read More
Return Vec mut ref trait objects from Vec...


vectorrusttraitstrait-objects

Read More
Supertrait as return traitobject doesn't have a known size at compile time...


rusttraitstrait-objects

Read More
Can't clone Vec<Box<Trait>> because Trait cannot be made into an object...


rustclonetrait-objects

Read More
Trait object cannot be shared between threads safely...


rusttrait-objects

Read More
The trait cannot be made into an object...


genericsrusttraitsdynamic-dispatchtrait-objects

Read More
Inconsistency of lifetime bound requirement when storing closures...


rustlifetimetrait-objects

Read More
Rust: can't collect an `Iterator<Item = Box<Dog>>` into `Vec<Box<dyn Animal&gt...


rusttrait-objects

Read More
Why is rustc's suggestion here wrong?...


rusttraitslifetimetrait-objects

Read More
Why using boxed objects over trait objects?...


rusttraitstrait-objects

Read More
Construct an array of objects in Rust...


arraysrustconstantstraitstrait-objects

Read More
Why can't Box<dyn Trait> be pased to a function with &mut Trait as parameter...


rusttraitstrait-objects

Read More
Is it possible (in any way) to pass a trait object to a generic method?...


genericsrusttrait-objects

Read More
Why does Rust allow you to call `Iterator::for_each()` on a trait object?...


rusttrait-objects

Read More
Rust: Trait RangeBounds cannot be made into an object...


rusttrait-objects

Read More
Trait can't be made Object Safe when Hash + PartialEq are Supertraits...


rusttrait-objects

Read More
Shared &str along multiple structs conflicts with Lifetimes...


rustlifetimetrait-objects

Read More
Trait objects from references...


rusttrait-objects

Read More
expected trait object `dyn Responsability`, found type parameter `T`...


rusttrait-objects

Read More
Can Clone be implemented for a trait object with finite lifetime (without using unsafe code)?...


rustiteratortraitstrait-objects

Read More
What are the rules for blanket implementations regarding modules?...


genericsrusttraitstrait-objects

Read More
Failure to apply turbofish notation on (boxed) trait objects...


rusttrait-objects

Read More
How do you create a Box<dyn Trait>, or a boxed unsized value in general?...


rusttrait-objects

Read More
Are vtables generated for all types that implement a trait?...


rusttraitsvtabletrait-objects

Read More
Why is `dyn Trait` not Sized?...


rustreferencetrait-objects

Read More
BackNext