Struct rustc::middle::ty::TraitRef[src]
pub struct TraitRef {
pub def_id: DefId,
pub substs: Substs,
}Fields
def_id | |
substs |
pub struct TraitRef {
pub def_id: DefId,
pub substs: Substs,
}def_id | |
substs |
impl TypeFoldable for TraitReffn fold_with<F: TypeFolder>(&self, folder: &mut F) -> TraitRefimpl Repr for TraitRefimpl UserString for TraitReffn user_string(&self, tcx: &ctxt) -> Stringimpl<__S: Writer> Hash<__S> for TraitReffn hash(&self, __arg_0: &mut __S)impl Eq for TraitReffn assert_receiver_is_total_eq(&self)impl PartialEq for TraitRef
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 (or str), enum,
trait, typedef (or
tdef).