[][src]Trait serde_hex::config::HexConf

pub trait HexConf {
    fn compact() -> bool { ... }
fn withpfx() -> bool { ... }
fn withcap() -> bool { ... } }

Trait for supplying configuration to SerHex. This trait takes no self parameters, as it is intended to be applied unit structs. All default implementation are set to false.

Provided methods

fn compact() -> bool

function indicating whether to use compact (as apposed to strict) representation.

fn withpfx() -> bool

function indicating whether to prefixing (0x).

fn withcap() -> bool

function indicating whether to use capital letters (A-F).

Loading content...

Implementors

impl HexConf for Compact[src]

impl HexConf for CompactCap[src]

impl HexConf for CompactCapPfx[src]

impl HexConf for CompactPfx[src]

impl HexConf for Strict[src]

impl HexConf for StrictCap[src]

impl HexConf for StrictCapPfx[src]

impl HexConf for StrictPfx[src]

Loading content...