pub enum LinkKind {
Inline {
dest: String,
title: Option<String>,
},
FullReference {
label: String,
},
CollapsedReference,
ShortcutReference,
}Expand description
What kind of link/image we resolved a bracket pair to.
Variants§
Inline
[text](dest) or [text](dest "title").
FullReference
[text][label] — explicit reference.
CollapsedReference
[text][] — collapsed reference. Label is the link text.
ShortcutReference
[text] — shortcut reference. Label is the link text.
Trait Implementations§
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