pub enum LinkKind {
Absolute,
Relative,
External,
Anchor,
Other,
}Expand description
How a link target is interpreted.
Variants§
Absolute
Begins with /: resolved relative to the bundle root (recommended).
Relative
A relative path such as ./other.md.
External
An external URI (https://…, mailto:…, …).
Anchor
A pure in-document anchor (#section).
Other
Anything else (e.g. an empty target).
Implementations§
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