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 Clone for ExpnFormat
[src]
impl Clone for ExpnFormat
fn clone(&self) -> ExpnFormat
[src]
fn clone(&self) -> ExpnFormat
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 Decodable for ExpnFormat
[src]
impl Decodable for ExpnFormat
fn decode<__D>(__arg_0: &mut __D) -> Result<ExpnFormat, <__D as Decoder>::Error> where
__D: Decoder,
[src]
fn decode<__D>(__arg_0: &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 ExpnFormat
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, __arg_0: &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 ExpnFormat
impl PartialEq<ExpnFormat> for ExpnFormat
[src]
impl PartialEq<ExpnFormat> for ExpnFormat
fn eq(&self, __arg_0: &ExpnFormat) -> bool
[src]
fn eq(&self, __arg_0: &ExpnFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExpnFormat) -> bool
[src]
fn ne(&self, __arg_0: &ExpnFormat) -> bool
This method tests for !=
.
impl Debug for ExpnFormat
[src]
impl Debug for ExpnFormat
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Encodable for ExpnFormat
[src]
impl Encodable for ExpnFormat
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder,
[src]
fn encode<__S>(&self, __arg_0: &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?
Auto Trait Implementations
impl !Send for ExpnFormat
impl !Send for ExpnFormat
impl !Sync for ExpnFormat
impl !Sync for ExpnFormat