Struct rusty_peg::Error [] [src]

pub struct Error<'input> {
    pub expected: &'input str,
    pub offset: usize,
}

Fields

expected: &'input str offset: usize

Trait Implementations

impl<'input> Debug for Error<'input>
[src]

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

Formats the value using the given formatter.

impl<'input> Clone for Error<'input>
[src]

fn clone(&self) -> Error<'input>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more