pub enum Notation {
Markdown,
Wikilink,
Bare,
}Expand description
Variants§
Markdown
[Title](target).
Wikilink
[[target]] / [[target|Title]].
Bare
A bare target, no brackets — what the old plain_* link formats wrote.
Implementations§
Source§impl Notation
impl Notation
Sourcepub fn from_config_str(value: &str) -> Option<Self>
pub fn from_config_str(value: &str) -> Option<Self>
Parse the references.notation config spelling; unknown → None.
Sourcepub fn as_config_str(self) -> &'static str
pub fn as_config_str(self) -> &'static str
The references.notation config spelling.
Trait Implementations§
impl Copy for Notation
impl Eq for Notation
impl StructuralPartialEq for Notation
Auto Trait Implementations§
impl Freeze for Notation
impl RefUnwindSafe for Notation
impl Send for Notation
impl Sync for Notation
impl Unpin for Notation
impl UnsafeUnpin for Notation
impl UnwindSafe for Notation
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.