[][src]Enum genco::ErasedElement

pub enum ErasedElement<'el> {
    Quoted(Cons<'el>),
}

A type-erased variant of element, useful for constructing elements which are not associated with any specific customization.

Variants

Quoted(Cons<'el>)

A borrowed quoted string.

Trait Implementations

impl<'el> Clone for ErasedElement<'el>[src]

impl<'el, L> FormatTokens<'el, L> for ErasedElement<'el> where
    L: Lang
[src]

Convert an erased element to tokens.

impl<'el, L> From<ErasedElement<'el>> for Element<'el, L> where
    L: Lang
[src]

Auto Trait Implementations

impl<'el> !RefUnwindSafe for ErasedElement<'el>

impl<'el> !Send for ErasedElement<'el>

impl<'el> !Sync for ErasedElement<'el>

impl<'el> Unpin for ErasedElement<'el>

impl<'el> UnwindSafe for ErasedElement<'el>

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.