List Question
10 TechQA 2024-10-20 01:38:55How can I cast Rc<RefCell<Box<MyTrait> to Rc<RefCell<Box<MyStruct>>>
194 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?
702 views
Asked by jbrown
Rust says the function parameter does not live enough, even though proper lifetime have been placed
205 views
Asked by entropy32
trait cannot be made into an object due to generic type parameters
79 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?
808 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?
145 views
Asked by Martin Jocqueviel