Enum syntax_pos::hygiene::CompilerDesugaringKind [−][src]
pub enum CompilerDesugaringKind {
QuestionMark,
Catch,
ExistentialReturnType,
Async,
ForLoop,
}The kind of compiler desugaring.
Variants
QuestionMarkCatchExistentialReturnTypeDesugaring of an impl Trait in return type position
to an existential type Foo: Trait; + replacing the
impl Trait with Foo.
AsyncForLoop
Methods
impl CompilerDesugaringKind[src]
impl CompilerDesugaringKindTrait Implementations
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)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for CompilerDesugaringKind[src]
impl Copy for CompilerDesugaringKindimpl Hash for CompilerDesugaringKind[src]
impl Hash for CompilerDesugaringKindfn 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 CompilerDesugaringKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for CompilerDesugaringKind[src]
impl PartialEq 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
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for CompilerDesugaringKind[src]
impl Eq for CompilerDesugaringKindimpl Encodable for CompilerDesugaringKind[src]
impl Encodable for CompilerDesugaringKindimpl Decodable for CompilerDesugaringKind[src]
impl Decodable for CompilerDesugaringKindAuto Trait Implementations
impl Send for CompilerDesugaringKind
impl Send for CompilerDesugaringKindimpl Sync for CompilerDesugaringKind
impl Sync for CompilerDesugaringKind