BoundAsyncness in rustc_ast::ast - Rust (original) (raw)

Enum BoundAsyncness

Source

pub enum BoundAsyncness {
    Normal,
    Async(Span),
}

Expand description

The asyncness of a trait bound.

Variants§

§

Normal

Type: Trait

§

Async(Span)

Type: async Trait

Implementations§

Trait Implementations§

Auto Trait Implementations§

§

impl DynSend for BoundAsyncness

§

impl DynSync for BoundAsyncness

§

impl Freeze for BoundAsyncness

§

impl RefUnwindSafe for BoundAsyncness

§

impl Send for BoundAsyncness

§

impl Sync for BoundAsyncness

§

impl Unpin for BoundAsyncness

§

impl UnwindSafe for BoundAsyncness

Blanket Implementations§

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 12 bytes

Size for each variant: