Struct BrokenLinkReference

struct BrokenLinkReference<'l> { ... }

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.

Implementations

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

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

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>

impl<T> Any for BrokenLinkReference<'l>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for BrokenLinkReference<'l>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for BrokenLinkReference<'l>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for BrokenLinkReference<'l>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for BrokenLinkReference<'l>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for BrokenLinkReference<'l>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for BrokenLinkReference<'l>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>