Trait scan_rules::scanner::ScanFromHex [] [src]

pub trait ScanFromHex<'a>: Sized {
    fn scan_from_hex<I: ScanInput<'a>>(s: I) -> Result<(Self, usize), ScanError>;
}

This trait defines scanning a type from a hexadecimal representation.

This should be implemented to match implementations of std::fmt::LowerHex and std::fmt::UpperHex.

Required Methods

Perform a scan on the given input.

See: ScanFromStr::scan_from.

Implementors