pub struct WikiLink {
pub meta: NodeMeta,
pub target: String,
pub label: String,
pub label_order: WikiLinkLabelOrder,
}Expand description
A wiki link: [[target|label]].
Fields§
§meta: NodeMetaNode metadata (source span).
target: StringThe link target (page name).
label: StringThe visible label.
label_order: WikiLinkLabelOrderWhether the label appeared before or after the | in the source.
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