Expand description
Casting objects to trait pointers.
Rust supports Any-to-Concrete downcasting via Any;
and the downcast_rs crate supports Trait-to-Concrete downcasting.
This module adds Trait-to-Trait downcasting for the Object trait.
Structs§
- Cast
Table - A collection of functions to downcast
&dyn Objectreferences for some particular concrete object typeOinto various&dyn Traitreferences. - Caster 🔒
- A single entry in a
CastTable.
Statics§
- EMPTY_
CAST_ 🔒TABLE - Static cast table that doesn’t support casting anything to anything.