Trait scan_rules::scanner::ScanFromHex
[−]
[src]
pub trait ScanFromHex<'a>: Sized { fn scan_from_hex(s: &'a str) -> Result<(Self, usize), ScanErrorKind>; }
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
fn scan_from_hex(s: &'a str) -> Result<(Self, usize), ScanErrorKind>
Perform a scan on the given input.
See: ScanFromStr::scan_from.
Implementors
impl<'a> ScanFromHex<'a> for i8impl<'a> ScanFromHex<'a> for i16impl<'a> ScanFromHex<'a> for i32impl<'a> ScanFromHex<'a> for i64impl<'a> ScanFromHex<'a> for isizeimpl<'a> ScanFromHex<'a> for u8impl<'a> ScanFromHex<'a> for u16impl<'a> ScanFromHex<'a> for u32impl<'a> ScanFromHex<'a> for u64impl<'a> ScanFromHex<'a> for usize