Trait core::fmt::num::DisplayInt

source ·
trait DisplayInt: PartialEq + PartialOrd + Div<Output = Self> + Rem<Output = Self> + Sub<Output = Self> + Copy {
    // Required methods
    fn zero() -> Self;
    fn from_u8(u: u8) -> Self;
    fn to_u8(&self) -> u8;
    fn to_u16(&self) -> u16;
    fn to_u32(&self) -> u32;
    fn to_u64(&self) -> u64;
    fn to_u128(&self) -> u128;
}

Required Methods§

source

fn zero() -> Self

source

fn from_u8(u: u8) -> Self

source

fn to_u8(&self) -> u8

source

fn to_u16(&self) -> u16

source

fn to_u32(&self) -> u32

source

fn to_u64(&self) -> u64

source

fn to_u128(&self) -> u128

Implementors§