pub struct LexedToken<'source, 'ast> {
pub token: Token<'source, 'ast>,
pub start: usize,
pub end: usize,
pub location: Location,
}Fields§
§token: Token<'source, 'ast>§start: usize§end: usize§location: LocationTrait Implementations§
Source§impl<'source, 'ast> Clone for LexedToken<'source, 'ast>
impl<'source, 'ast> Clone for LexedToken<'source, 'ast>
Source§fn clone(&self) -> LexedToken<'source, 'ast>
fn clone(&self) -> LexedToken<'source, 'ast>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'source, 'ast> Copy for LexedToken<'source, 'ast>
Auto Trait Implementations§
impl<'source, 'ast> Freeze for LexedToken<'source, 'ast>
impl<'source, 'ast> RefUnwindSafe for LexedToken<'source, 'ast>
impl<'source, 'ast> Send for LexedToken<'source, 'ast>
impl<'source, 'ast> Sync for LexedToken<'source, 'ast>
impl<'source, 'ast> Unpin for LexedToken<'source, 'ast>
impl<'source, 'ast> UnsafeUnpin for LexedToken<'source, 'ast>
impl<'source, 'ast> UnwindSafe for LexedToken<'source, 'ast>
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