pub trait DowncastObject: Object + Sized {
    fn downcast(object: ObjectType) -> Option<Self>;
}
Expand description

Marks an object type that can be downcast from a Base.

See SyncGuard::downcast for information on how this trait is used.

Required Methods

Attempts to extract the concrete type of the object from an ObjectType.

Prefer to use SyncGuard::downcast over calling this directly.

Implementors