Post #2612504
2023-12-02 20:17 UTC
@janriemer@floss.social Ooo this is exciting, will this mean that it will work like i expected it to in my post?
Replies (1)
-
@janriemer@floss.social 2023-12-02 21:02
@luna@lunar.place I think it should, yes! One thing, I'm not _quite_ sure about, is that you are trying to call the method on `&Box`. I _think_ (again, not sure) it must be `&dyn Component` instead, so instead of: c.downcast_ref::() try: c.as_ref().downcast_ref::()