Struct BrokenLinkReference

#[non_exhaustive]
pub struct BrokenLinkReference<'l> { pub normalized: &'l str, pub original: &'l str }

Struct to the broken link callback, containing details on the link reference which failed to find a match.

Fields

normalized: &'l str

The normalized reference link label. Unicode case folding is applied; see https://github.com/commonmark/commonmark-spec/issues/695 for a discussion on the details of what this exactly means.

original: &'l str

The original text in the link label.

Trait Implementations

impl<'l> Debug for BrokenLinkReference<'l>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl<'l> Freeze for BrokenLinkReference<'l>

impl<'l> RefUnwindSafe for BrokenLinkReference<'l>

impl<'l> Send for BrokenLinkReference<'l>

impl<'l> Sync for BrokenLinkReference<'l>

impl<'l> Unpin for BrokenLinkReference<'l>

impl<'l> UnsafeUnpin for BrokenLinkReference<'l>

impl<'l> UnwindSafe for BrokenLinkReference<'l>

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for BrokenLinkReference<'l> where T: SimdFrom<F, S>, S: Simd,

impl<T> Any for BrokenLinkReference<'l> where T: 'static + ?Sized,

impl<T> Borrow<T> for BrokenLinkReference<'l> where T: ?Sized,

impl<T> BorrowMut<T> for BrokenLinkReference<'l> where T: ?Sized,

impl<T> From<T> for BrokenLinkReference<'l>

impl<T, S> SimdFrom<T, S> for BrokenLinkReference<'l> where S: Simd,

impl<T, U> Into<U> for BrokenLinkReference<'l> where U: From<T>,

impl<T, U> TryFrom<U> for BrokenLinkReference<'l> where U: Into<T>,

impl<T, U> TryInto<U> for BrokenLinkReference<'l> where U: TryFrom<T>,