Struct rustc::ty::OutlivesPredicate
[−]
[src]
pub struct OutlivesPredicate<A, B>(pub A, pub B);
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait Implementations
impl<'tcx, A: Copy + Lift<'tcx>, B: Copy + Lift<'tcx>> Lift<'tcx> for OutlivesPredicate<A, B>
[src]
type Lifted = OutlivesPredicate<A::Lifted, B::Lifted>
🔬 This is a nightly-only experimental API. (
rustc_private
)fn lift_to_tcx<'a, 'gcx>(&self,
tcx: TyCtxt<'a, 'gcx, 'tcx>)
-> Option<Self::Lifted>
tcx: TyCtxt<'a, 'gcx, 'tcx>)
-> Option<Self::Lifted>
🔬 This is a nightly-only experimental API. (
rustc_private
)impl<'tcx, T, U> TypeFoldable<'tcx> for OutlivesPredicate<T, U> where T: TypeFoldable<'tcx>,
U: TypeFoldable<'tcx>
[src]
U: TypeFoldable<'tcx>
fn super_fold_with<'gcx: 'tcx, F: TypeFolder<'gcx, 'tcx>>(&self,
folder: &mut F)
-> Self
folder: &mut F)
-> Self
🔬 This is a nightly-only experimental API. (
rustc_private
)fn super_visit_with<V: TypeVisitor<'tcx>>(&self, visitor: &mut V) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn fold_with<'gcx: 'tcx, F: TypeFolder<'gcx, 'tcx>>(&self,
folder: &mut F)
-> Self
folder: &mut F)
-> Self
🔬 This is a nightly-only experimental API. (
rustc_private
)fn visit_with<V: TypeVisitor<'tcx>>(&self, visitor: &mut V) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_regions_escaping_depth(&self, depth: u32) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_escaping_regions(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_type_flags(&self, flags: TypeFlags) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_projection_types(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn references_error(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_param_types(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_self_ty(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_infer_types(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn needs_infer(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn needs_subst(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_re_skol(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_closure_types(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn has_erasable_regions(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn is_normalized_for_trans(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)fn is_global(&self) -> bool
🔬 This is a nightly-only experimental API. (
rustc_private
)Indicates whether this value references only 'global' types/lifetimes that are the same regardless of what fn we are in. This is used for caching. Errs on the side of returning false. Read more
impl<A: Clone, B: Clone> Clone for OutlivesPredicate<A, B>
[src]
fn clone(&self) -> OutlivesPredicate<A, B>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<A: PartialEq, B: PartialEq> PartialEq for OutlivesPredicate<A, B>
[src]
fn eq(&self, __arg_0: &OutlivesPredicate<A, B>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OutlivesPredicate<A, B>) -> bool
This method tests for !=
.
impl<A: Eq, B: Eq> Eq for OutlivesPredicate<A, B>
[src]
impl<A: Hash, B: Hash> Hash for OutlivesPredicate<A, B>
[src]
fn hash<__HAB: Hasher>(&self, __arg_0: &mut __HAB)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl<A: Debug, B: Debug> Debug for OutlivesPredicate<A, B>
[src]
impl<A: Encodable, B: Encodable> Encodable for OutlivesPredicate<A, B>
[src]
fn encode<__SAB: Encoder>(&self,
__arg_0: &mut __SAB)
-> Result<(), __SAB::Error>
__arg_0: &mut __SAB)
-> Result<(), __SAB::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io
impl<A: Decodable, B: Decodable> Decodable for OutlivesPredicate<A, B>
[src]
fn decode<__DAB: Decoder>(__arg_0: &mut __DAB)
-> Result<OutlivesPredicate<A, B>, __DAB::Error>
-> Result<OutlivesPredicate<A, B>, __DAB::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io
impl<'tcx, T, U> Display for OutlivesPredicate<T, U> where T: Display,
U: Display
[src]
U: Display