pub enum SemanticTokenType {
Keyword,
Variable,
Function,
Type,
Constructor,
Operator,
Number,
StringLit,
Comment,
Tactic,
Namespace,
}Expand description
Semantic token type for syntax highlighting.
Variants§
Keyword
A keyword (e.g. def, theorem, if).
Variable
A variable reference.
Function
A function name.
Type
A type name.
Constructor
A constructor name.
Operator
An operator symbol.
Number
A number literal.
StringLit
A string literal.
Comment
A comment.
Tactic
A tactic name.
Namespace
A namespace name.
Trait Implementations§
Source§impl Clone for SemanticTokenType
impl Clone for SemanticTokenType
Source§fn clone(&self) -> SemanticTokenType
fn clone(&self) -> SemanticTokenType
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 SemanticTokenType
impl Debug for SemanticTokenType
Source§impl PartialEq for SemanticTokenType
impl PartialEq for SemanticTokenType
impl Eq for SemanticTokenType
impl StructuralPartialEq for SemanticTokenType
Auto Trait Implementations§
impl Freeze for SemanticTokenType
impl RefUnwindSafe for SemanticTokenType
impl Send for SemanticTokenType
impl Sync for SemanticTokenType
impl Unpin for SemanticTokenType
impl UnsafeUnpin for SemanticTokenType
impl UnwindSafe for SemanticTokenType
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