Enum syntax::ast::IsAsync[][src]

pub enum IsAsync {
    Async {
        closure_id: NodeId,
        return_impl_trait_id: NodeId,
    },
    NotAsync,
}

Variants

Fields of Async

Methods

impl IsAsync
[src]

In case this is an Async return the NodeId for the generated impl Trait item

Trait Implementations

impl Copy for IsAsync
[src]

impl Clone for IsAsync
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for IsAsync
[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 IsAsync
[src]

impl Encodable for IsAsync
[src]

impl Decodable for IsAsync
[src]

impl Hash for IsAsync
[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 IsAsync
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for IsAsync

impl Sync for IsAsync