pub enum BodyLinkKind {
Wikilink,
Embed,
Markdown,
}Expand description
What syntax produced a BodyLink.
Not the same three as crate::LinkKind: this scanner reads bodies only,
so there is no Frontmatter, and it harvests relative markdown links, which
the bracket dialect has no variant for.
Variants§
Wikilink
A [[target]] link.
Embed
A ![[target]] embed.
Markdown
A relative markdown link, [text](path).
Trait Implementations§
Source§impl Clone for BodyLinkKind
impl Clone for BodyLinkKind
impl Copy for BodyLinkKind
Source§impl Debug for BodyLinkKind
impl Debug for BodyLinkKind
impl Eq for BodyLinkKind
Source§impl Hash for BodyLinkKind
impl Hash for BodyLinkKind
Source§impl PartialEq for BodyLinkKind
impl PartialEq for BodyLinkKind
impl StructuralPartialEq for BodyLinkKind
Auto Trait Implementations§
impl Freeze for BodyLinkKind
impl RefUnwindSafe for BodyLinkKind
impl Send for BodyLinkKind
impl Sync for BodyLinkKind
impl Unpin for BodyLinkKind
impl UnsafeUnpin for BodyLinkKind
impl UnwindSafe for BodyLinkKind
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