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 duplicate 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 Freeze for ScannerState
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