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

pub enum ImplPolarity {
    Positive,
    Negative(Span),
}

Variants§

§

Positive

impl Trait for Type

§

Negative(Span)

impl !Trait for Type

Trait Implementations§

Auto Trait Implementations§

§

impl DynSend for ImplPolarity

§

impl DynSync for ImplPolarity

§

impl Freeze for ImplPolarity

§

impl RefUnwindSafe for ImplPolarity

§

impl Send for ImplPolarity

§

impl Sync for ImplPolarity

§

impl Unpin for ImplPolarity

§

impl UnwindSafe for ImplPolarity

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: