Enum syntax::ext::expand::ExpansionKind[][src]

pub enum ExpansionKind {
    OptExpr,
    Expr,
    Pat,
    Ty,
    Stmts,
    Items,
    TraitItems,
    ImplItems,
    ForeignItems,
}

Variants

Methods

impl ExpansionKind
[src]

Trait Implementations

impl Copy for ExpansionKind
[src]

impl Clone for ExpansionKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ExpansionKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ExpansionKind
[src]

Auto Trait Implementations