Enum syntax::ext::expand::ExpansionKind [−][src]
pub enum ExpansionKind { OptExpr, Expr, Pat, Ty, Stmts, Items, TraitItems, ImplItems, ForeignItems, }
Variants
OptExpr
Expr
Pat
Ty
Stmts
Items
TraitItems
ImplItems
ForeignItems
Methods
impl ExpansionKind
[src]
impl ExpansionKind
Trait Implementations
impl Copy for ExpansionKind
[src]
impl Copy for ExpansionKind
impl Clone for ExpansionKind
[src]
impl Clone for ExpansionKind
fn clone(&self) -> ExpansionKind
[src]
fn clone(&self) -> ExpansionKind
Returns 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 ExpansionKind
fn eq(&self, other: &ExpansionKind) -> bool
[src]
fn eq(&self, other: &ExpansionKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ExpansionKind
[src]
impl Eq for ExpansionKind
Auto Trait Implementations
impl Send for ExpansionKind
impl Send for ExpansionKind
impl Sync for ExpansionKind
impl Sync for ExpansionKind