Enum syntax_pos::hygiene::CompilerDesugaringKind[][src]

pub enum CompilerDesugaringKind {
    DotFill,
    QuestionMark,
    Catch,
    ExistentialReturnType,
    Async,
}

The kind of compiler desugaring.

Variants

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]

Trait Implementations

impl Clone for CompilerDesugaringKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for CompilerDesugaringKind
[src]

impl Hash for CompilerDesugaringKind
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for CompilerDesugaringKind
[src]

Formats the value using the given formatter. Read more

impl PartialEq for CompilerDesugaringKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CompilerDesugaringKind
[src]

impl Encodable for CompilerDesugaringKind
[src]

impl Decodable for CompilerDesugaringKind
[src]

Auto Trait Implementations