Trait mz_ore::cast::CastInto

source ·
pub trait CastInto<T> {
    // Required method
    fn cast_into(self) -> T;
}
Expand description

The inverse of CastFrom. Implemented automatically, just like std::convert::Into.

Required Methods§

source

fn cast_into(self) -> T

Performs the cast.

Implementors§

source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,