pub trait AsAny: Any { // Required method fn as_any(&self) -> &dyn Any; }
Helper trait to enable trait upcasting, since upcasting is not stable.