ToUsize

Trait ToUsize 

Source
pub trait ToUsize {
    // Required method
    fn to_usize(&self) -> usize;
}

Required Methods§

Source

fn to_usize(&self) -> usize

Implementations on Foreign Types§

Source§

impl ToUsize for i8

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for i16

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for i32

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for i64

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for i128

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for u8

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for u16

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for u32

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for u64

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for u128

Source§

fn to_usize(&self) -> usize

Source§

impl ToUsize for usize

Source§

fn to_usize(&self) -> usize

Implementors§

Source§

impl ToUsize for C64

Source§

impl ToUsize for F32

Available on crate feature f32 only.
Source§

impl ToUsize for F64

Available on crate feature f64 only.
Source§

impl ToUsize for R64