Enum syntax::ext::hygiene::CompilerDesugaringKind [−][src]
pub enum CompilerDesugaringKind {
DotFill,
QuestionMark,
Catch,
ExistentialReturnType,
}🔬 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
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?
Catch🔬 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?
ExistentialReturnType🔬 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 of an impl Trait in return type position
to an existential type Foo: Trait; + replacing the
impl Trait with Foo.
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 Debug for CompilerDesugaringKind[src]
impl Debug for CompilerDesugaringKindfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for CompilerDesugaringKind[src]
impl Eq for CompilerDesugaringKindfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq<CompilerDesugaringKind> for CompilerDesugaringKind[src]
impl PartialEq<CompilerDesugaringKind> for CompilerDesugaringKindfn eq(&self, other: &CompilerDesugaringKind) -> bool[src]
fn eq(&self, other: &CompilerDesugaringKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Decodable for CompilerDesugaringKind[src]
impl Decodable for CompilerDesugaringKindfn decode<__D>(
d: &mut __D
) -> Result<CompilerDesugaringKind, <__D as Decoder>::Error> where
__D: Decoder, [src]
fn decode<__D>(
d: &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 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 Encodable for CompilerDesugaringKind[src]
impl Encodable for CompilerDesugaringKindfn 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 Hash for CompilerDesugaringKind[src]
impl Hash for CompilerDesugaringKindAuto Trait Implementations
impl Send for CompilerDesugaringKind
impl Send for CompilerDesugaringKindimpl Sync for CompilerDesugaringKind
impl Sync for CompilerDesugaringKind