Struct rustc_lint::middle::ty::TraitPredicateUnstable
[-] [+]
[src]
pub struct TraitPredicate<'tcx> {
pub trait_ref: Rc<TraitRef<'tcx>>,
}Fields
trait_ref |
pub struct TraitPredicate<'tcx> {
pub trait_ref: Rc<TraitRef<'tcx>>,
}trait_ref |
impl<'tcx> TraitPredicate<'tcx>fn def_id(&self) -> DefIdfn input_types(&self) -> &[&'tcx TyS<'tcx>]fn self_ty(&self) -> &'tcx TyS<'tcx>impl<'tcx> RegionEscape for TraitPredicate<'tcx>fn has_regions_escaping_depth(&self, depth: u32) -> boolfn has_escaping_regions(&self) -> boolimpl<'tcx> HasProjectionTypes for TraitPredicate<'tcx>fn has_projection_types(&self) -> boolimpl<'tcx> ReferencesError for TraitPredicate<'tcx>fn references_error(&self) -> boolimpl<'tcx> TypeFoldable<'tcx> for TraitPredicate<'tcx>fn fold_with<F>(&self, folder: &mut F) -> TraitPredicate<'tcx> where F: TypeFolder<'tcx>impl<'tcx> Repr<'tcx> for TraitPredicate<'tcx>impl<'tcx> UserString<'tcx> for TraitPredicate<'tcx>fn user_string(&self, tcx: &ctxt<'tcx>) -> Stringimpl<'tcx> Debug for TraitPredicate<'tcx>impl<'tcx> Hash for TraitPredicate<'tcx>impl<'tcx> Eq for TraitPredicate<'tcx>impl<'tcx> PartialEq<TraitPredicate<'tcx>> for TraitPredicate<'tcx>fn eq(&self, __arg_0: &TraitPredicate<'tcx>) -> boolfn ne(&self, __arg_0: &TraitPredicate<'tcx>) -> boolimpl<'tcx> Clone for TraitPredicate<'tcx>fn clone(&self) -> TraitPredicate<'tcx>fn 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).