pub trait Upcastable {
// Required methods
fn upcast_any_ref(&self) -> &dyn Any;
fn upcast_any_mut(&mut self) -> &mut dyn Any;
fn upcast_any_box(self: Box<Self>) -> Box<dyn Any>;
}
Expand description
Trait needed to get downcasting from VirtualFile
to work.