Trait tetsy_bytes::ToPretty [−][src]
pub trait ToPretty { fn pretty(&self) -> PrettySlice<'_>; fn to_hex(&self) -> String { ... } }
Expand description
Trait to allow a type to be pretty-printed in format!
, where unoverridable
defaults cannot otherwise be avoided.
Required methods
fn pretty(&self) -> PrettySlice<'_>
[src]
fn pretty(&self) -> PrettySlice<'_>
[src]Convert a type into a derivative form in order to make format!
print it prettily.