[−][src]Trait safecast::CastInto
Trait for defining a cast operation to some destination type T.
Analogous to std::convert::Into
.
The inverse of CastFrom
.
Prefer implementing CastFrom
over CastInto
because implementing CastFrom
automatically
provides an implementation of CastInto
.