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

pub enum GenericBound {
    Trait(PolyTraitRef),
    Outlives(Lifetime),
    Use(ThinVec<PreciseCapturingArg>, Span),
}

Variants§

Implementations§

Trait Implementations§

Auto Trait Implementations§

§

impl DynSend for GenericBound

§

impl DynSync for GenericBound

§

impl Freeze for GenericBound

§

impl RefUnwindSafe for GenericBound

§

impl Send for GenericBound

§

impl Sync for GenericBound

§

impl Unpin for GenericBound

§

impl UnwindSafe for GenericBound

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: 88 bytes

Size for each variant: