Struct ress::ScannerState
source · pub struct ScannerState {
pub manual_state: ManualState,
pub last_three: LookBehind,
pub paren_stack: Vec<Paren>,
}
Expand description
All of the important state
for the scanner, used to
cache and reset a Scanner
Fields§
§manual_state: ManualState
§last_three: LookBehind
§paren_stack: Vec<Paren>
Trait Implementations§
source§impl Clone for ScannerState
impl Clone for ScannerState
source§fn clone(&self) -> ScannerState
fn clone(&self) -> ScannerState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more