pub struct LexResult<'source> {
pub tokens: Vec<Token<'source>>,
pub errors: Vec<ParseError>,
pub blank_lines: Vec<u32>,
}Fields§
§tokens: Vec<Token<'source>>§errors: Vec<ParseError>§blank_lines: Vec<u32>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'source> Forget for LexResult<'source>
impl<'source> Freeze for LexResult<'source>where
*const u8 is !null: Freeze,
PhantomData<Token<'source>>: Freeze,
PhantomData<ParseError>: Freeze,
PhantomData<u32>: Freeze,
impl<'source> Move for LexResult<'source>
impl<'source> RefUnwindSafe for LexResult<'source>
impl<'source> Send for LexResult<'source>
impl<'source> Sync for LexResult<'source>where
RawVecInner: Sync,
impl<'source> Unpin for LexResult<'source>
impl<'source> UnsafeUnpin for LexResult<'source>where
*const u8 is !null: UnsafeUnpin,
PhantomData<Token<'source>>: UnsafeUnpin,
PhantomData<ParseError>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
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