Function rustc_typeck::middle::ty::item_variancesExperimental
[-]
[+]
[src]
pub fn item_variances(tcx: &ctxt, item_id: DefId) -> Rc<ItemVariances>
pub fn item_variances(tcx: &ctxt, item_id: DefId) -> Rc<ItemVariances>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).