Enum ra_ap_tt::Leaf[][src]

pub enum Leaf {
    Literal(Literal),
    Punct(Punct),
    Ident(Ident),
}

Variants

Literal(Literal)
Punct(Punct)
Ident(Ident)

Trait Implementations

impl Clone for Leaf[src]

impl Debug for Leaf[src]

impl Display for Leaf[src]

impl Eq for Leaf[src]

impl From<Ident> for Leaf[src]

impl From<Leaf> for TokenTree[src]

impl From<Literal> for Leaf[src]

impl From<Punct> for Leaf[src]

impl Hash for Leaf[src]

impl PartialEq<Leaf> for Leaf[src]

impl StructuralEq for Leaf[src]

impl StructuralPartialEq for Leaf[src]

Auto Trait Implementations

impl RefUnwindSafe for Leaf

impl Send for Leaf

impl Sync for Leaf

impl Unpin for Leaf

impl UnwindSafe for Leaf

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> ToString for T where
    T: Display + ?Sized
[src]

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.