Int

Trait Int 

Source
pub trait Int:
    Clone
    + Default
    + Debug {
    // Required method
    fn to_int64(self) -> i64;
}

Required Methods§

Source

fn to_int64(self) -> i64

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 Int for f32

Source§

fn to_int64(self) -> i64

Source§

impl Int for f64

Source§

fn to_int64(self) -> i64

Source§

impl Int for i8

Source§

fn to_int64(self) -> i64

Source§

impl Int for i16

Source§

fn to_int64(self) -> i64

Source§

impl Int for i32

Source§

fn to_int64(self) -> i64

Source§

impl Int for i64

Source§

fn to_int64(self) -> i64

Source§

impl Int for isize

Source§

fn to_int64(self) -> i64

Source§

impl Int for u8

Source§

fn to_int64(self) -> i64

Source§

impl Int for u16

Source§

fn to_int64(self) -> i64

Source§

impl Int for u32

Source§

fn to_int64(self) -> i64

Source§

impl Int for u64

Source§

fn to_int64(self) -> i64

Source§

impl Int for usize

Source§

fn to_int64(self) -> i64

Implementors§