pub enum HighlightKind {
Keyword,
Literal,
Identifier,
Comment,
Operator,
Punctuation,
Function,
Type,
}Expand description
高亮类型的本地定义
Variants§
Keyword
关键字
Literal
字面量
Identifier
标识符
Comment
注释
Operator
运算符
Punctuation
标点符号
Function
函数/方法
Type
类型/类
Trait Implementations§
Source§impl Clone for HighlightKind
impl Clone for HighlightKind
Source§fn clone(&self) -> HighlightKind
fn clone(&self) -> HighlightKind
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 HighlightKind
impl Debug for HighlightKind
Source§impl PartialEq for HighlightKind
impl PartialEq for HighlightKind
impl Copy for HighlightKind
impl Eq for HighlightKind
impl StructuralPartialEq for HighlightKind
Auto Trait Implementations§
impl Freeze for HighlightKind
impl RefUnwindSafe for HighlightKind
impl Send for HighlightKind
impl Sync for HighlightKind
impl Unpin for HighlightKind
impl UnwindSafe for HighlightKind
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