Enum cmark_syntax::Kind
source · [−]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 StructuralEq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more