pub enum RangeKind {
Prose,
Heading,
Frontmatter,
CodeBlock,
InlineCode,
Wikilink,
Embed,
Url,
HtmlBlock,
HtmlInline,
}Expand description
Classification of a byte range within a markdown source.
Variants§
Prose
Regular text where bare mentions should be detected.
Heading
Heading content — bare mentions should not be linked here.
Frontmatter
YAML frontmatter block.
CodeBlock
Fenced or indented code block.
InlineCode
Inline code span.
Wikilink
An existing wikilink [[...]].
Embed
An embed ![[...]].
Url
An autolink or URL.
HtmlBlock
Raw HTML block.
HtmlInline
HTML inline tag.
Trait Implementations§
impl Copy for RangeKind
impl Eq for RangeKind
impl StructuralPartialEq for RangeKind
Auto Trait Implementations§
impl Freeze for RangeKind
impl RefUnwindSafe for RangeKind
impl Send for RangeKind
impl Sync for RangeKind
impl Unpin for RangeKind
impl UnsafeUnpin for RangeKind
impl UnwindSafe for RangeKind
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.