pub enum EntryKind {
Definition,
Reference,
TypeAnnotation,
Binder,
Constructor,
Pattern,
Tactic,
Keyword,
Literal,
Comment,
DocComment,
Operator,
}Expand description
The kind of source entry.
Variants§
Definition
A definition site (def, theorem, axiom, etc.)
Reference
A reference to a previously defined name.
TypeAnnotation
A type annotation expression.
Binder
A binder (lambda, forall, let parameter).
Constructor
A constructor of an inductive type.
Pattern
A pattern in a match expression.
Tactic
A tactic invocation.
Keyword
A keyword token.
Literal
A literal value (number, string, char).
Comment
A comment (line or block).
DocComment
A documentation comment.
Operator
An operator symbol.
Trait Implementations§
impl Eq for EntryKind
impl StructuralPartialEq for EntryKind
Auto Trait Implementations§
impl Freeze for EntryKind
impl RefUnwindSafe for EntryKind
impl Send for EntryKind
impl Sync for EntryKind
impl Unpin for EntryKind
impl UnsafeUnpin for EntryKind
impl UnwindSafe for EntryKind
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