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 moreAuto Trait Implementations§
impl RefUnwindSafe for ScannerState
impl Send for ScannerState
impl Sync for ScannerState
impl Unpin for ScannerState
impl UnwindSafe for ScannerState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more