Trait to_string::HexaDisplay
[−]
[src]
pub trait HexaDisplay { fn to_hexa_string(&self) -> String; fn to_hexa(&self) -> String { ... } }
Required Methods
fn to_hexa_string(&self) -> String
use to_string::HexaDisplay; assert_eq!("0x12", 0x12.to_hexa_string()); assert_eq!("0xffffffee", (-0x12).to_hexa_string())
Provided Methods
fn to_hexa(&self) -> String
use to_string::HexaDisplay; assert_eq!("0x12", 0x12.to_hexa()); assert_eq!("0xffffffee", (-0x12).to_hexa())
Implementors
impl<T: LowerHex> HexaDisplay for T