Enum syntax::codemap::ExpnFormat [−][src]
pub enum ExpnFormat {
MacroAttribute(Symbol),
MacroBang(Symbol),
CompilerDesugaring(CompilerDesugaringKind),
}🔬 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?
The source of expansion.
Variants
MacroAttribute(Symbol)🔬 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?
e.g. #[derive(...)]
MacroBang(Symbol)🔬 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?
e.g. format!()
CompilerDesugaring(CompilerDesugaringKind)🔬 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?
Desugaring done by the compiler during HIR lowering.
Trait Implementations
impl Decodable for ExpnFormat[src]
impl Decodable for ExpnFormatfn decode<__D>(d: &mut __D) -> Result<ExpnFormat, <__D as Decoder>::Error> where
__D: Decoder, [src]
fn decode<__D>(d: &mut __D) -> Result<ExpnFormat, <__D as Decoder>::Error> where
__D: Decoder, 🔬 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 Hash for ExpnFormat[src]
impl Hash for ExpnFormatfn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Eq for ExpnFormat[src]
impl Eq for ExpnFormatfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Encodable for ExpnFormat[src]
impl Encodable for ExpnFormatfn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder, [src]
fn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder, 🔬 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 PartialEq<ExpnFormat> for ExpnFormat[src]
impl PartialEq<ExpnFormat> for ExpnFormatfn eq(&self, other: &ExpnFormat) -> bool[src]
fn eq(&self, other: &ExpnFormat) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExpnFormat) -> bool[src]
fn ne(&self, other: &ExpnFormat) -> boolThis method tests for !=.
impl Clone for ExpnFormat[src]
impl Clone for ExpnFormatfn clone(&self) -> ExpnFormat[src]
fn clone(&self) -> ExpnFormatReturns 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 Debug for ExpnFormat[src]
impl Debug for ExpnFormatAuto Trait Implementations
impl !Send for ExpnFormat
impl !Send for ExpnFormatimpl !Sync for ExpnFormat
impl !Sync for ExpnFormat