Trait to_string::OctalDisplay [] [src]

pub trait OctalDisplay {
    fn to_octal_string(&self) -> String;

    fn to_octal(&self) -> String { ... }
}

Required Methods

use to_string::OctalDisplay;
assert_eq!("0o12", 0o12.to_octal_string())

Provided Methods

use to_string::OctalDisplay;
assert_eq!("0o12", 0o12.to_octal())

Implementors