pub enum Addressing {
Path,
Id,
Alias,
}Expand description
What a reference addresses its target by — the second style axis.
Variants§
Path
By path — rewritten on every move; rendering follows
ReferenceStyle::path_style.
Id
By durable id:<id> handle — move-stable; authoring one registers the
target (the link-by-id trigger).
Alias
By the target’s title/name, resolved nominally through the title index —
readable but not move/rename-safe, and never registers. Implies
Wrapper::Wikilink.
Implementations§
Source§impl Addressing
impl Addressing
Sourcepub fn from_config_str(value: &str) -> Option<Self>
pub fn from_config_str(value: &str) -> Option<Self>
Parse the reference_target config spelling; unknown → None.
Sourcepub fn as_config_str(self) -> &'static str
pub fn as_config_str(self) -> &'static str
The reference_target config spelling.
Trait Implementations§
Source§impl Clone for Addressing
impl Clone for Addressing
Source§fn clone(&self) -> Addressing
fn clone(&self) -> Addressing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Addressing
Source§impl Debug for Addressing
impl Debug for Addressing
Source§impl Default for Addressing
impl Default for Addressing
Source§fn default() -> Addressing
fn default() -> Addressing
Returns the “default value” for a type. Read more
impl Eq for Addressing
Source§impl PartialEq for Addressing
impl PartialEq for Addressing
impl StructuralPartialEq for Addressing
Auto Trait Implementations§
impl Freeze for Addressing
impl RefUnwindSafe for Addressing
impl Send for Addressing
impl Sync for Addressing
impl Unpin for Addressing
impl UnsafeUnpin for Addressing
impl UnwindSafe for Addressing
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.