Struct tbot::markup::Link[][src]

#[must_use = "formatters need to be formatted with `markdown_v2` or `html`"]
pub struct Link<T, L = &'static str> { /* fields omitted */ }

Formats a link. Can be created with link or mention.

Trait Implementations

impl<T: Clone, L: Clone> Clone for Link<T, L>[src]

impl<T: Debug, L: Debug> Debug for Link<T, L>[src]

impl<T, L> Formattable for Link<T, L> where
    T: Formattable,
    L: Deref<Target = str>, 
[src]

impl<T, L> Formattable for Link<T, L> where
    T: Formattable,
    L: Deref<Target = str>, 
[src]

impl<T: Hash, L: Hash> Hash for Link<T, L>[src]

impl<T: PartialEq, L: PartialEq> PartialEq<Link<T, L>> for Link<T, L>[src]

impl<T: Copy, L: Copy> Copy for Link<T, L>[src]

impl<T: Eq, L: Eq> Eq for Link<T, L>[src]

impl<T, L> StructuralEq for Link<T, L>[src]

impl<T, L> StructuralPartialEq for Link<T, L>[src]

Auto Trait Implementations

impl<T, L> RefUnwindSafe for Link<T, L> where
    L: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, L> Send for Link<T, L> where
    L: Send,
    T: Send

impl<T, L> Sync for Link<T, L> where
    L: Sync,
    T: Sync

impl<T, L> Unpin for Link<T, L> where
    L: Unpin,
    T: Unpin

impl<T, L> UnwindSafe for Link<T, L> where
    L: UnwindSafe,
    T: UnwindSafe

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> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T> Formattable for T where
    T: Formattable + Formattable
[src]