Struct ress::ManualState
source · pub struct ManualState {
pub cursor: usize,
pub new_line_count: usize,
pub line_cursor: usize,
pub at_first_on_line: bool,
}
Expand description
All of the important state
for the scanner, used to
cache and reset a Scanner
Fields§
§cursor: usize
§new_line_count: usize
§line_cursor: usize
§at_first_on_line: bool
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