[−][src]Module intertrait::cast
cast
module contains traits to provide cast
method for various references
and smart pointers.
In source files requiring casts, import all of the traits as follows:
use intertrait::cast::*;
Since there exists single trait for each receiver type, the same cast
method is overloaded.
Traits
CastArc | A trait that is blanket-implemented for traits extending |
CastBox | A trait that is blanket-implemented for traits extending |
CastMut | A trait that is blanket-implemented for traits extending |
CastRc | A trait that is blanket-implemented for traits extending |
CastRef | A trait that is blanket-implemented for traits extending |