pub struct RichToken {
pub token: Token,
pub category: TokenCategory,
pub arity: OperatorArity,
pub priority: OperatorPriority,
}Expand description
A classified token enriched with operator metadata.
Fields§
§token: TokenUnderlying token.
category: TokenCategoryHigh-level category.
arity: OperatorArityOperator arity (if applicable).
priority: OperatorPriorityOperator priority (if applicable).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RichToken
impl RefUnwindSafe for RichToken
impl Send for RichToken
impl Sync for RichToken
impl Unpin for RichToken
impl UnsafeUnpin for RichToken
impl UnwindSafe for RichToken
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