Trait scan_rules::scanner::ScanFromOctal
[−]
[src]
pub trait ScanFromOctal<'a>: Sized { fn scan_from_octal<I: ScanInput<'a>>(
s: I
) -> Result<(Self, usize), ScanError>; }
This trait defines scanning a type from an octal representation.
This should be implemented to match implementations of std::fmt::Octal
.
Required Methods
fn scan_from_octal<I: ScanInput<'a>>(s: I) -> Result<(Self, usize), ScanError>
Perform a scan on the given input.
See: ScanFromStr::scan_from
.
Implementors
impl<'a> ScanFromOctal<'a> for i8
impl<'a> ScanFromOctal<'a> for i16
impl<'a> ScanFromOctal<'a> for i32
impl<'a> ScanFromOctal<'a> for i64
impl<'a> ScanFromOctal<'a> for isize
impl<'a> ScanFromOctal<'a> for u8
impl<'a> ScanFromOctal<'a> for u16
impl<'a> ScanFromOctal<'a> for u32
impl<'a> ScanFromOctal<'a> for u64
impl<'a> ScanFromOctal<'a> for usize