Enum syntax::ext::expand::ExpansionKind [−][src]
pub enum ExpansionKind {
OptExpr,
Expr,
Pat,
Ty,
Stmts,
Items,
TraitItems,
ImplItems,
ForeignItems,
}Variants
OptExprExprPatTyStmtsItemsTraitItemsImplItemsForeignItems
Methods
impl ExpansionKind[src]
impl ExpansionKindTrait Implementations
impl Copy for ExpansionKind[src]
impl Copy for ExpansionKindimpl Clone for ExpansionKind[src]
impl Clone for ExpansionKindfn clone(&self) -> ExpansionKind[src]
fn clone(&self) -> ExpansionKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ExpansionKind[src]
impl PartialEq for ExpansionKindfn eq(&self, other: &ExpansionKind) -> bool[src]
fn eq(&self, other: &ExpansionKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for ExpansionKind[src]
impl Eq for ExpansionKindAuto Trait Implementations
impl Send for ExpansionKind
impl Send for ExpansionKindimpl Sync for ExpansionKind
impl Sync for ExpansionKind