pub enum LinkKind {
Wikilink,
Embed,
Frontmatter,
}Expand description
What kind of reference produced a RawLink.
BodyLinkKind is the span-carrying scanner’s parallel enum: no
Frontmatter, and a Markdown variant this one folds into Wikilink.
Variants§
Wikilink
A [[target]] link, or a relative markdown link.
Embed
A ![[target]] embed.
Frontmatter
Found inside a frontmatter value rather than the body.
Trait Implementations§
impl Copy for LinkKind
impl Eq for LinkKind
impl StructuralPartialEq for LinkKind
Auto Trait Implementations§
impl Freeze for LinkKind
impl RefUnwindSafe for LinkKind
impl Send for LinkKind
impl Sync for LinkKind
impl Unpin for LinkKind
impl UnsafeUnpin for LinkKind
impl UnwindSafe for LinkKind
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