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) -> DefId
fn 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) -> bool
fn has_escaping_regions(&self) -> bool
impl<'tcx> HasProjectionTypes for TraitPredicate<'tcx>
fn has_projection_types(&self) -> bool
impl<'tcx> ReferencesError for TraitPredicate<'tcx>
fn references_error(&self) -> bool
impl<'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>) -> String
impl<'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>) -> bool
fn ne(&self, __arg_0: &TraitPredicate<'tcx>) -> bool
impl<'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
).