List Question
10 TechQA 2025-01-07 04:30:25How can I cast Rc<RefCell<Box<MyTrait> to Rc<RefCell<Box<MyStruct>>>
220 views
Asked by Dmitry Uvarov
How do I pass Rc<RefCell<Box<MyStruct>>> to a function accepting Rc<RefCell<Box<dyn MyTrait>>>?
3.9k views
Asked by Dmitry Uvarov
Variable parameterised over a trait not a struct?
738 views
Asked by jbrown
Rust says the function parameter does not live enough, even though proper lifetime have been placed
233 views
Asked by entropy32
trait cannot be made into an object due to generic type parameters
101 views
Asked by matanmarkind
Why can't some traits be made into objects
1.5k views
Asked by wrongusername
Get Rc<RefCell<dyn T>>> on a sub-type
1.1k views
Asked by Corebreaker
Why is a value not converted to a trait object with dynamic dispatch in a closure?
840 views
Asked by Rodolfo
What makes something a "trait object"?
19.7k views
Asked by Shepmaster
Why does a method returning &Self makes a trait object-unsafe?
172 views
Asked by Martin Jocqueviel