Crate unsafe_any [−] [src]
Traits for unsafe downcasting from trait objects to & or &mut references of concrete types. These should only be used if you are absolutely certain of the type of the data in said trait object - there be dragons etc.
Originally inspired by https://github.com/chris-morgan/anymap
and the implementation of std::any::Any
.
Traits
UnsafeAny |
A trait providing unchecked downcasting to its contents when stored in a trait object. |
UnsafeAnyExt |
An extension trait for unchecked downcasting of trait objects. |