Post #2612505
2023-12-02 21:02 UTC
@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::()
Replies (1)
-
@luna@lunar.place 2023-12-02 21:04
@janriemer@floss.social Isn't &Box and &T identical?