Struct NodeWikiLink
#[non_exhaustive]
pub struct NodeWikiLink { pub url: String, pub embed: bool }
The details of a wikilink's destination.
For both [[link]] and ![[embed]] syntax
Fields
url: StringThe URL for the link destination.
embed: boolIf true, this is an embed link, otherwise a normal link.
Implementations
impl NodeWikiLink
fn new(url: impl Into<String>, embed: bool) -> SelfCreate a new
NodeWikiLinkwith the given URL and embedded..ness.
Trait Implementations
impl Clone for NodeWikiLink
fn clone(&self) -> Self
impl Debug for NodeWikiLink
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeWikiLink
fn default() -> Self
impl Eq for NodeWikiLink
impl PartialEq for NodeWikiLink
fn eq(&self, other: &Self) -> bool