pub enum TokenRef {
Keyword {
name: String,
atom: Loc,
},
Bounded {
name: String,
start: Loc,
end: Option<Loc>,
},
}Expand description
This is a TokenRef, which contains detailed information on what a token is
Variants§
Trait Implementations§
impl StructuralPartialEq for TokenRef
Auto Trait Implementations§
impl Freeze for TokenRef
impl RefUnwindSafe for TokenRef
impl Send for TokenRef
impl Sync for TokenRef
impl Unpin for TokenRef
impl UnwindSafe for TokenRef
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