Struct rustc::middle::ty::TraitRefExperimental
[-]
[+]
[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 TraitReffn new(def_id: DefId, substs: Substs) -> TraitReffn self_ty(&self) -> tfn input_types(&self) -> &[t]impl TypeFoldable for TraitReffn fold_with<'tcx, F: TypeFolder<'tcx>>(&self, folder: &mut F) -> TraitRefimpl Repr for TraitRefimpl UserString for TraitReffn user_string(&self, tcx: &ctxt) -> Stringimpl Show for TraitRefimpl<__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 TraitRefimpl Clone for TraitReffn clone(&self) -> TraitReffn clone_from(&mut self, source: &Self)
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).