Struct rustc_typeck::middle::ty::OutlivesPredicateUnstable [-] [+] [src]

pub struct OutlivesPredicate<A, B>(pub A, pub B);

Trait Implementations

impl<T, U> RegionEscape for OutlivesPredicate<T, U> where T: RegionEscape, U: RegionEscape

fn has_regions_escaping_depth(&self, depth: u32) -> bool

fn has_escaping_regions(&self) -> bool

impl<T, U> HasProjectionTypes for OutlivesPredicate<T, U> where U: HasProjectionTypes, T: HasProjectionTypes

fn has_projection_types(&self) -> bool

impl<A, B> ReferencesError for OutlivesPredicate<A, B> where A: ReferencesError, B: ReferencesError

fn references_error(&self) -> bool

impl<'tcx, T, U> TypeFoldable<'tcx> for OutlivesPredicate<T, U> where T: TypeFoldable<'tcx>, U: TypeFoldable<'tcx>

fn fold_with<F>(&self, folder: &mut F) -> OutlivesPredicate<T, U> where F: TypeFolder<'tcx>

impl<'tcx, T, U> Repr<'tcx> for OutlivesPredicate<T, U> where T: Repr<'tcx> + TypeFoldable<'tcx>, U: Repr<'tcx> + TypeFoldable<'tcx>

fn repr(&self, tcx: &ctxt<'tcx>) -> String

impl<'tcx, T, U> UserString<'tcx> for OutlivesPredicate<T, U> where T: UserString<'tcx> + TypeFoldable<'tcx>, U: UserString<'tcx> + TypeFoldable<'tcx>

fn user_string(&self, tcx: &ctxt<'tcx>) -> String

Derived Implementations

impl<A, B> Debug for OutlivesPredicate<A, B> where A: Debug + Debug, B: Debug + Debug

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl<A, B> Hash for OutlivesPredicate<A, B> where A: Hash + Hash, B: Hash + Hash

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<A, B> Eq for OutlivesPredicate<A, B> where B: Eq + Eq, A: Eq + Eq

impl<A, B> PartialEq<OutlivesPredicate<A, B>> for OutlivesPredicate<A, B> where B: PartialEq<B> + PartialEq<B>, A: PartialEq<A> + PartialEq<A>

fn eq(&self, __arg_0: &OutlivesPredicate<A, B>) -> bool

fn ne(&self, __arg_0: &OutlivesPredicate<A, B>) -> bool

impl<A, B> Clone for OutlivesPredicate<A, B> where B: Clone + Clone, A: Clone + Clone

fn clone(&self) -> OutlivesPredicate<A, B>

fn clone_from(&mut self, source: &Self)