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