Enum syntax::ext::hygiene::CompilerDesugaringKind
[−]
[src]
pub enum CompilerDesugaringKind {
BackArrow,
DotFill,
QuestionMark,
}🔬 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 kind of compiler desugaring.
Variants
BackArrow🔬 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?
DotFill🔬 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?
QuestionMark🔬 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 CompilerDesugaringKind[src]
impl CompilerDesugaringKindpub fn as_symbol(&self) -> Symbol[src]
pub fn as_symbol(&self) -> 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?
Trait Implementations
impl Clone for CompilerDesugaringKind[src]
impl Clone for CompilerDesugaringKindfn clone(&self) -> CompilerDesugaringKind[src]
fn clone(&self) -> CompilerDesugaringKindReturns 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 CompilerDesugaringKind[src]
impl Decodable for CompilerDesugaringKindfn decode<__D>(
__arg_0: &mut __D
) -> Result<CompilerDesugaringKind, <__D as Decoder>::Error> where
__D: Decoder, [src]
fn decode<__D>(
__arg_0: &mut __D
) -> Result<CompilerDesugaringKind, <__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 CompilerDesugaringKind[src]
impl Hash for CompilerDesugaringKindfn 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 CompilerDesugaringKind[src]
impl Eq for CompilerDesugaringKindimpl PartialEq<CompilerDesugaringKind> for CompilerDesugaringKind[src]
impl PartialEq<CompilerDesugaringKind> for CompilerDesugaringKindfn eq(&self, __arg_0: &CompilerDesugaringKind) -> bool[src]
fn eq(&self, __arg_0: &CompilerDesugaringKind) -> 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) -> boolThis method tests for !=.
impl Debug for CompilerDesugaringKind[src]
impl Debug for CompilerDesugaringKindfn 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 CompilerDesugaringKind[src]
impl Encodable for CompilerDesugaringKindfn 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 CompilerDesugaringKind
impl Send for CompilerDesugaringKindimpl Sync for CompilerDesugaringKind
impl Sync for CompilerDesugaringKind