[][src]Enum pulldown_cmark::LinkType

pub enum LinkType {
    Inline,
    Reference,
    ReferenceUnknown,
    Collapsed,
    CollapsedUnknown,
    Shortcut,
    ShortcutUnknown,
    Autolink,
    Email,
}

Type specifier for inline links. See the Tag::Link for more information.

Variants

Inline

Inline link like [foo](bar)

Reference

Reference link like [foo][bar]

ReferenceUnknown

Reference without destination in the document, but resolved by the broken_link_callback

Collapsed

Collapsed link like [foo][]

CollapsedUnknown

Collapsed link without destination in the document, but resolved by the broken_link_callback

Shortcut

Shortcut link like [foo]

ShortcutUnknown

Shortcut without destination in the document, but resolved by the broken_link_callback

Autolink like <http://foo.bar/baz>

Email

Email address in autolink like <john@example.org>

Trait Implementations

impl Clone for LinkType[src]

impl Copy for LinkType[src]

impl Debug for LinkType[src]

impl PartialEq<LinkType> for LinkType[src]

impl StructuralPartialEq for LinkType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.