base_traits

Trait ToUSize

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

T.B.C.

Required Methods§

Source

fn to_usize(&self) -> usize

Implementations on Foreign Types§

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 usize

Source§

fn to_usize(&self) -> usize

Source§

impl<T: ToUSize + ?Sized> ToUSize for Box<T>

Source§

fn to_usize(&self) -> usize

Source§

impl<T: ToUSize + ?Sized> ToUSize for Rc<T>

Source§

fn to_usize(&self) -> usize

Implementors§