List Question
10 TechQA 2024-12-09 22:03:18How can I cast Rc<RefCell<Box<MyTrait> to Rc<RefCell<Box<MyStruct>>>
177 views
Asked by Dmitry Uvarov
How do I pass Rc<RefCell<Box<MyStruct>>> to a function accepting Rc<RefCell<Box<dyn MyTrait>>>?
3.8k views
Asked by Dmitry Uvarov
Variable parameterised over a trait not a struct?
694 views
Asked by jbrown
Rust says the function parameter does not live enough, even though proper lifetime have been placed
193 views
Asked by entropy32
trait cannot be made into an object due to generic type parameters
63 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?
798 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?
132 views
Asked by Martin Jocqueviel