pub struct State<'a, S: StrDrive> {
    pub string: S,
    pub start: usize,
    pub end: usize,
    pub marks: Vec<Option<usize>>,
    pub lastindex: isize,
    pub string_position: usize,
    pub has_matched: bool,
    pub match_all: bool,
    pub must_advance: bool,
    /* private fields */
}

Fields

string: Sstart: usizeend: usizemarks: Vec<Option<usize>>lastindex: isizestring_position: usizehas_matched: boolmatch_all: boolmust_advance: bool

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.