pub trait UnificationDatabase<I>where
    Self: Debug,
    I: Interner,
{ fn fn_def_variance(&self, fn_def_id: FnDefId<I>) -> Variances<I>; fn adt_variance(&self, adt_id: AdtId<I>) -> Variances<I>; }
Expand description

Logic to decide the Variance for a given subst

Required Methods

Gets the variances for the substitution of a fn def

Gets the variances for the substitution of a adt

Implementors