pub struct LexResult<'source> {
pub tokens: Vec<Token<'source>>,
pub errors: Vec<ParseError>,
pub trivia: Trivia,
}Fields§
§tokens: Vec<Token<'source>>§errors: Vec<ParseError>§trivia: TriviaImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'source> Freeze for LexResult<'source>
impl<'source> RefUnwindSafe for LexResult<'source>
impl<'source> Send for LexResult<'source>
impl<'source> Sync for LexResult<'source>
impl<'source> Unpin for LexResult<'source>
impl<'source> UnsafeUnpin for LexResult<'source>
impl<'source> UnwindSafe for LexResult<'source>
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