ToI32

Trait ToI32 

Source
pub trait ToI32:
    Sized
    + TryInto<i32>
    + TryInto<i128>
    + Copy {
    // Provided method
    fn i32(self) -> Result<i32, 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§