Enum syntax::ext::hygiene::CompilerDesugaringKind [−][src]
pub enum CompilerDesugaringKind { DotFill, QuestionMark, Catch, ExistentialReturnType, }
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
.
Methods
impl CompilerDesugaringKind
[src]
impl CompilerDesugaringKind
Trait Implementations
impl Hash for CompilerDesugaringKind
[src]
impl Hash for CompilerDesugaringKind
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Decodable for CompilerDesugaringKind
[src]
impl Decodable for CompilerDesugaringKind
fn 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,
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 Debug for CompilerDesugaringKind
[src]
impl Debug for CompilerDesugaringKind
fn 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 CompilerDesugaringKind
impl Encodable for CompilerDesugaringKind
[src]
impl Encodable for CompilerDesugaringKind
impl PartialEq<CompilerDesugaringKind> for CompilerDesugaringKind
[src]
impl PartialEq<CompilerDesugaringKind> for CompilerDesugaringKind
Auto Trait Implementations
impl Send for CompilerDesugaringKind
impl Send for CompilerDesugaringKind
impl Sync for CompilerDesugaringKind
impl Sync for CompilerDesugaringKind