Trait digits::Radix
[−]
[src]
pub trait Radix { fn binary(&self) -> Self; fn octal(&self) -> Self; fn decimal(&self) -> Self; fn hex(&self) -> Self; fn hexl(&self) -> Self; }
Default Radix type conversion for Digits
Required Methods
fn binary(&self) -> Self
Convert current Digits
to binary
fn octal(&self) -> Self
Convert current Digits
to octal
fn decimal(&self) -> Self
Convert current Digits
to decimal
fn hex(&self) -> Self
Convert current Digits
to hexadecimal
fn hexl(&self) -> Self
Convert current Digits
to lowercase hexadecimal
Implementors
impl Radix for Digits