pub enum TokenAnnotation {
BindingSite(String),
UseSite(String),
ResolvedName(String),
TacticStart,
TacticEnd,
ImplicitHole,
TypeSeparator,
}Expand description
Extra semantic information attached to a token.
Variants§
BindingSite(String)
This token is an introduction site for the named variable.
UseSite(String)
This token is a use-site for the named variable.
ResolvedName(String)
This token’s identifier refers to a declaration with this qualified name.
TacticStart
This token starts a tactic block.
TacticEnd
This token ends a tactic block.
ImplicitHole
This token is a hole (implicit argument).
TypeSeparator
This token is a type annotation separator.
Trait Implementations§
Source§impl Clone for TokenAnnotation
impl Clone for TokenAnnotation
Source§fn clone(&self) -> TokenAnnotation
fn clone(&self) -> TokenAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TokenAnnotation
impl Debug for TokenAnnotation
Source§impl PartialEq for TokenAnnotation
impl PartialEq for TokenAnnotation
impl Eq for TokenAnnotation
impl StructuralPartialEq for TokenAnnotation
Auto Trait Implementations§
impl Freeze for TokenAnnotation
impl RefUnwindSafe for TokenAnnotation
impl Send for TokenAnnotation
impl Sync for TokenAnnotation
impl Unpin for TokenAnnotation
impl UnsafeUnpin for TokenAnnotation
impl UnwindSafe for TokenAnnotation
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