Struct rustc_typeck::variance::constraints::Constraint [−][src]
pub struct Constraint<'a> {
pub inferred: InferredIndex,
pub variance: &'a VarianceTerm<'a>,
}Expand description
Declares that the variable decl_id appears in a location with
variance variance.
Fields
inferred: InferredIndexvariance: &'a VarianceTerm<'a>Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Constraint
impl<'a> Send for Constraint
impl<'a> Sync for Constraint
impl<'a> Unpin for Constraint
impl<'a> UnwindSafe for Constraint
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 16 bytes
