Enum syntax_pos::hygiene::CompilerDesugaringKind [−][src]
pub enum CompilerDesugaringKind { DotFill, QuestionMark, Catch, ExistentialReturnType, Async, }
The kind of compiler desugaring.
Variants
DotFill
QuestionMark
Catch
ExistentialReturnType
Desugaring of an impl Trait
in return type position
to an existential type Foo: Trait;
+ replacing the
impl Trait
with Foo
.
Async
Methods
impl CompilerDesugaringKind
[src]
impl CompilerDesugaringKind
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for CompilerDesugaringKind
[src]
impl Copy for CompilerDesugaringKind
impl Hash for CompilerDesugaringKind
[src]
impl Hash for CompilerDesugaringKind
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for CompilerDesugaringKind
[src]
impl Debug for CompilerDesugaringKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for CompilerDesugaringKind
[src]
impl PartialEq for CompilerDesugaringKind
fn eq(&self, other: &CompilerDesugaringKind) -> bool
[src]
fn eq(&self, other: &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
1.0.0
[src]This method tests for !=
.
impl Eq for CompilerDesugaringKind
[src]
impl Eq for CompilerDesugaringKind
impl Encodable for CompilerDesugaringKind
[src]
impl Encodable for CompilerDesugaringKind
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