[][src]Macro hexutil::impl_hex

macro_rules! impl_hex {
    ($ty:ident, $len:expr, |$self:ident| $to_hex:expr, |$data:ident| $from_hex:expr $(,)?) => { ... };
    ($ty:ident, $len:expr, |&$self:ident| $to_hex:expr, |$data:ident| $from_hex:expr $(,)?) => { ... };
    ($ty:ident, $len:expr, |$self:ident| $to_hex:expr, |$data:ident| $from_hex:expr, [$($preset:ident),* $(,)?] $(,)?) => { ... };
    ($ty:ident, $len:expr, |&$self:ident| $to_hex:expr, |$data:ident| $from_hex:expr, [$($preset:ident),* $(,)?] $(,)?) => { ... };
}

Implement common traits for binary representable data.

See crate-level documentation for more information.