Search code examples
Why does using Option::map to Box::new a trait object not work?...

rusttrait-objects

Read More
Why can't some traits be made into objects...

rusttrait-objects

Read More
Rust says the function parameter does not live enough, even though proper lifetime have been placed...

genericsrustclosureslifetimetrait-objects

Read More
Turn generic method into trait object safe method...

genericsrusttrait-objects

Read More
How do I pass in a trait object to a vector that will also have a uniform type in the vector of the ...

genericsvectorrusttraitstrait-objects

Read More
Trait object discrepancy between Vec and HashMap...

rusttraitstrait-objects

Read More
How to move a value out of an object-safe trait object?...

rusttraitsownershiptrait-objects

Read More
Why can't `&(?Sized + Trait)` be cast to `&dyn Trait`?...

genericsrustpolymorphismtrait-objects

Read More
How can I create a list of owned trait objects without allocating each item on the heap separately?...

rusttrait-objects

Read More
How do I clone a Rc trait object and cast it to another trait object?...

castingrustsmart-pointerstrait-objects

Read More
How to pass Rc<RefCell<dyn T>> to fn that wants &dyn T?...

rustdereferencetrait-objectsinterior-mutability

Read More
How to convert trait to concrete type?...

rusttraitstrait-objects

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

rusttraitstrait-objects

Read More
"associated type ... must be specified", but isn't used...

rustassociated-typesdynamic-dispatchtrait-objects

Read More
Sending trait objects between threads in Rust...

rusttrait-objects

Read More
How to coerce a Vec of structs to a Vec of trait objects?...

rusttraitstrait-objects

Read More
How to apply a lifetime to VecDeque<Box<dyn Trait>>?...

rusttrait-objects

Read More
How are trait objects implemented in Rust?...

rusttraitstrait-objects

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

genericsrusttraitstrait-objects

Read More
Store lambda returning iterator in the struct...

lambdarustiteratortrait-objects

Read More
What is the cited problem with using generic type parameters in trait objects?...

genericsrusttraitstrait-objects

Read More
How to share heap-allocated trait objects?...

rusttraitstrait-objects

Read More
Why sized trait is required for a builder function to generate Rc<T>?...

rusttraitssmart-pointerstrait-objects

Read More
Factorize methods taking &Box<T> and &T as argument...

rustpolymorphismtraitstrait-objects

Read More
What does `impl TraitX for TraitY` mean in Rust?...

syntaxrusttraitstrait-objects

Read More
Variable parameterised over a trait not a struct?...

genericsrustpolymorphismtrait-objects

Read More
function pointer vs Fn trait object...

functionrustclosurestraitstrait-objects

Read More
"Expected trait A, found &A" when trying to box a trait object...

rusttrait-objects

Read More
Rust: polymorphic calls for structs in a vector...

rustpolymorphismtraitsdispatchtrait-objects

Read More
Generics plus dynamic dispatch...

rusttraitstrait-objects

Read More
BackNext