pub struct Scanner { /* private fields */ }
Implementations§
Source§impl Scanner
impl Scanner
pub fn new(option: ScanOption) -> Self
pub fn scan<'a, E>(
&self,
source: &'a str,
err_handle: E,
) -> impl TokenSource<'a>where
E: ErrorHandler,
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