Struct rustlr::lexer_interface::LexSource
source · [−]pub struct LexSource<'t> { /* private fields */ }
Expand description
Structure to hold contents of a source (such as contents of file). A StrTokenizer can be created from such a struct. It reads the contents of a file using std::fs::read_to_string and stores it locally.
Implementations
Auto Trait Implementations
impl<'t> RefUnwindSafe for LexSource<'t>
impl<'t> Send for LexSource<'t>
impl<'t> Sync for LexSource<'t>
impl<'t> Unpin for LexSource<'t>
impl<'t> UnwindSafe for LexSource<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more