Struct rustc_middle::ty::PredicateInner
source · [−]pub(crate) struct PredicateInner<'tcx> {
kind: Binder<'tcx, PredicateKind<'tcx>>,
flags: TypeFlags,
outer_exclusive_binder: DebruijnIndex,
}Fields
kind: Binder<'tcx, PredicateKind<'tcx>>flags: TypeFlagsouter_exclusive_binder: DebruijnIndexSee the comment for the corresponding field of TyS.
Trait Implementations
sourceimpl<'tcx> ArenaAllocatable<'tcx, IsNotCopy> for PredicateInner<'tcx>
impl<'tcx> ArenaAllocatable<'tcx, IsNotCopy> for PredicateInner<'tcx>
fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut Self
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
sourceimpl<'tcx> Debug for PredicateInner<'tcx>
impl<'tcx> Debug for PredicateInner<'tcx>
sourceimpl<'a, 'tcx> Lift<'tcx> for &'a PredicateInner<'a>
impl<'a, 'tcx> Lift<'tcx> for &'a PredicateInner<'a>
type Lifted = &'tcx PredicateInner<'tcx>
fn lift_to_tcx(self, tcx: TyCtxt<'tcx>) -> Option<Self::Lifted>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for PredicateInner<'tcx>
impl<'tcx> Send for PredicateInner<'tcx>
impl<'tcx> Sync for PredicateInner<'tcx>
impl<'tcx> Unpin for PredicateInner<'tcx>
impl<'tcx> !UnwindSafe for PredicateInner<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
impl<'a, T> Captures<'a> for T where
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes