Module better_any::nightly
source · [−]Expand description
unstable features that require nightly, use on your own risk
Traits
Most generic downcast methods with new nightly
ptr_metadata
apiHelper trait to retrieve trait object type
Implemented for types that can be converted to and from raw painter
Functions
Downcasts any kind of fat pointer type which vtable corresponds to a trait with
Any
bound.
For example Rc<RefCell<dyn Any>>>
can be downcasted with this methodDowncasts any kind of fat pointer type which vtable corresponds to a trait with
Tid
bound.
For example Rc<RefCell<dyn Tid<'_>>>>
can be downcasted with this method