Skip to main content

ToInt

Trait ToInt 

Source
pub trait ToInt {
    // Required method
    fn to_int(self) -> Int;
}

Required Methods§

Source

fn to_int(self) -> Int

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToInt for i8

Source§

fn to_int(self) -> Int

Source§

impl ToInt for i16

Source§

fn to_int(self) -> Int

Source§

impl ToInt for i32

Source§

fn to_int(self) -> Int

Source§

impl ToInt for i64

Source§

fn to_int(self) -> Int

Source§

impl ToInt for i128

Source§

fn to_int(self) -> Int

Source§

impl ToInt for isize

Source§

fn to_int(self) -> Int

Source§

impl ToInt for u8

Source§

fn to_int(self) -> Int

Source§

impl ToInt for u16

Source§

fn to_int(self) -> Int

Source§

impl ToInt for u32

Source§

fn to_int(self) -> Int

Source§

impl ToInt for u64

Source§

fn to_int(self) -> Int

Source§

impl ToInt for u128

Source§

fn to_int(self) -> Int

Source§

impl ToInt for usize

Source§

fn to_int(self) -> Int

Implementors§