pub trait CastInto<T> {
// Required method
fn cast_into(self) -> T;
}Expand description
The inverse of CastFrom.
Implemented automatically, just like std::convert::Into.
pub trait CastInto<T> {
// Required method
fn cast_into(self) -> T;
}The inverse of CastFrom.
Implemented automatically, just like std::convert::Into.