pub enum HighlightKind {
Keyword,
String,
Number,
Comment,
Macro,
Identifier,
Operator,
}Expand description
Local definition of highlight kinds
Variants§
Keyword
Keyword
String
String
Number
Number
Comment
Comment
Macro
Macro
Identifier
Identifier
Operator
Operator
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 UnsafeUnpin 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