Enum syntax::ext::expand::ExpansionKind [−][src]
pub enum ExpansionKind { OptExpr, Expr, Pat, Ty, Stmts, Items, TraitItems, ImplItems, ForeignItems, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
OptExpr
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Expr
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Pat
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Ty
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Stmts
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Items
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
TraitItems
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
ImplItems
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
ForeignItems
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl ExpansionKind
[src]
impl ExpansionKind
pub fn name(self) -> &'static str
[src]
pub fn name(self) -> &'static str
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn make_from<'a>(self, result: Box<MacResult + 'a>) -> Option<Expansion>
[src]
fn make_from<'a>(self, result: Box<MacResult + 'a>) -> Option<Expansion>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl ExpansionKind
[src]
impl ExpansionKind
fn dummy(self, span: Span) -> Option<Expansion>
[src]
fn dummy(self, span: Span) -> Option<Expansion>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
fn expect_from_annotatables<I: IntoIterator<Item = Annotatable>>(
self,
items: I
) -> Expansion
[src]
fn expect_from_annotatables<I: IntoIterator<Item = Annotatable>>(
self,
items: I
) -> Expansion
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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)
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
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for ExpansionKind
[src]
impl Eq for ExpansionKind
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
Auto Trait Implementations
impl Send for ExpansionKind
impl Send for ExpansionKind
impl Sync for ExpansionKind
impl Sync for ExpansionKind