pub struct Scanner {
pub file: String,
pub code: String,
pub cur_line: usize,
pub start_pos: usize,
pub cur_pos: usize,
}
Fields§
§file: String
§code: String
§cur_line: usize
§start_pos: usize
§cur_pos: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scanner
impl RefUnwindSafe for Scanner
impl Send for Scanner
impl Sync for Scanner
impl Unpin for Scanner
impl UnwindSafe for Scanner
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