Struct rustc::middle::ty::TyTrait[src]
pub struct TyTrait {
pub def_id: DefId,
pub substs: Substs,
pub bounds: BuiltinBounds,
}Fields
def_id | |
substs | |
bounds |
pub struct TyTrait {
pub def_id: DefId,
pub substs: Substs,
pub bounds: BuiltinBounds,
}def_id | |
substs | |
bounds |
impl<__S: Writer> Hash<__S> for TyTraitfn hash(&self, __arg_0: &mut __S)impl Eq for TyTraitfn assert_receiver_is_total_eq(&self)impl PartialEq for TyTraitimpl Clone for TyTraitfn clone(&self) -> TyTraitfn 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 (or str), enum,
trait, typedef (or
tdef).