Trait Cast
easy_cast
pub trait Cast<T> { fn cast(self) -> T; }
Like Into, but for Conv
Into
Conv
fn cast(self) -> T
impl<S, T: Conv<S>> Cast<T> for S