Struct pulldown_cmark::BrokenLink
source · pub struct BrokenLink<'a> {
pub span: Range<usize>,
pub link_type: LinkType,
pub reference: CowStr<'a>,
}
Fields§
§span: Range<usize>
§link_type: LinkType
§reference: CowStr<'a>
Implementations§
source§impl<'a> BrokenLink<'a>
impl<'a> BrokenLink<'a>
sourcepub fn into_static(self) -> BrokenLink<'static>
pub fn into_static(self) -> BrokenLink<'static>
Moves the link into version with a static lifetime.
The reference
member is cloned to a Boxed or Inline version.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BrokenLink<'a>
impl<'a> RefUnwindSafe for BrokenLink<'a>
impl<'a> Send for BrokenLink<'a>
impl<'a> Sync for BrokenLink<'a>
impl<'a> Unpin for BrokenLink<'a>
impl<'a> UnwindSafe for BrokenLink<'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