Trait core::fmt::num::Int [] [src]

trait Int: Zero + PartialEq + PartialOrd + Div<Output=Self> + Rem<Output=Self> + Sub<Output=Self> + Copy {
    fn from_u8(u: u8) -> Self;
    fn to_u8(&self) -> u8;
    fn to_u32(&self) -> u32;
    fn to_u64(&self) -> u64;
}

Required Methods

fn from_u8(u: u8) -> Self

fn to_u8(&self) -> u8

fn to_u32(&self) -> u32

fn to_u64(&self) -> u64

Implementors