Trait ToI16

Source
pub trait ToI16:
    Sized
    + TryInto<i16>
    + TryInto<i128>
    + Copy {
    // Provided method
    fn i16(self) -> Result<i16, MathError> { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§