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§
source§impl PartialEq for Kind
impl PartialEq for Kind
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)