ToI64

Trait ToI64 

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

Implementations on Foreign Types§

Source§

impl ToI64 for i16

Source§

impl ToI64 for i32

Source§

impl ToI64 for i64

Source§

impl ToI64 for u8

Source§

impl ToI64 for u16

Source§

impl ToI64 for u32

Source§

impl ToI64 for u64

Source§

impl ToI64 for usize

Implementors§