Struct markdown_linkify::link::Link
source · pub struct Link<'a> {
pub link_type: LinkType,
pub destination: CowStr<'a>,
pub title: CowStr<'a>,
pub text: Vec<Event<'a>>,
}Expand description
A link with items as represented by pulldown_cmark::Event.
Except, instead of separate events, this is one complete datastructure
suitable to run a replacer on.
Fields§
§link_type: LinkType§destination: CowStr<'a>§title: CowStr<'a>§text: Vec<Event<'a>>Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Link<'a>
impl<'a> Send for Link<'a>
impl<'a> Sync for Link<'a>
impl<'a> Unpin for Link<'a>
impl<'a> UnwindSafe for Link<'a>
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