pub struct WikiLink {
pub target: String,
pub alias: Option<String>,
pub slug: String,
pub line_number: usize,
}Expand description
A parsed [[wikilink]] extracted from markdown content.
Fields§
§target: StringOriginal target text as written (e.g. "Page Name").
alias: Option<String>Alias text if present ([[target|alias]]).
slug: StringNormalized slug derived from target (e.g. "page-name").
line_number: usize1-based line number where this link appears.
Trait Implementations§
impl Eq for WikiLink
impl StructuralPartialEq for WikiLink
Auto Trait Implementations§
impl Freeze for WikiLink
impl RefUnwindSafe for WikiLink
impl Send for WikiLink
impl Sync for WikiLink
impl Unpin for WikiLink
impl UnsafeUnpin for WikiLink
impl UnwindSafe for WikiLink
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§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.