Struct scan_rules::ScanErrorAt [] [src]

pub struct ScanErrorAt {
    // some fields omitted
}

Represents the position at which an error occurred.

Methods

impl ScanErrorAt
[src]

fn offset(&self) -> usize

Return the offset from the start of input that an error occurred at, in bytes.

Trait Implementations

impl Debug for ScanErrorAt
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.