pub enum Kind {
None,
Glyph,
Literal,
Identifier,
SpecialIdentifier,
StrongIdentifier,
Keyword,
Comment,
}
Expand description
Possible kind of a token in the highlighted syntax.
Variants§
None
Not contained in any tags.
Glyph
Rendered among u
tags.
Literal
Rendered among span
tags.
Identifier
Rendered among var
tags.
SpecialIdentifier
Rendered among em
tags.
StrongIdentifier
Rendered among strong
tags.
Keyword
Rendered among b
tags.
Comment
Rendered among i
tags.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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