Tuple Fields
0: &'tcx TTrait Implementations
sourceimpl<'tcx> Borrow<Allocation<AllocId, ()>> for Interned<'tcx, Allocation>
impl<'tcx> Borrow<Allocation<AllocId, ()>> for Interned<'tcx, Allocation>
sourcefn borrow<'a>(&'a self) -> &'a Allocation
fn borrow<'a>(&'a self) -> &'a Allocation
Immutably borrows from an owned value. Read more
sourceimpl<'tcx> Borrow<Binder<'tcx, PredicateKind<'tcx>>> for Interned<'tcx, PredicateInner<'tcx>>
impl<'tcx> Borrow<Binder<'tcx, PredicateKind<'tcx>>> for Interned<'tcx, PredicateInner<'tcx>>
sourcefn borrow<'a>(&'a self) -> &'a Binder<'tcx, PredicateKind<'tcx>>
fn borrow<'a>(&'a self) -> &'a Binder<'tcx, PredicateKind<'tcx>>
Immutably borrows from an owned value. Read more
sourceimpl<'tcx> Borrow<ConstStability> for Interned<'tcx, ConstStability>
impl<'tcx> Borrow<ConstStability> for Interned<'tcx, ConstStability>
sourcefn borrow<'a>(&'a self) -> &'a ConstStability
fn borrow<'a>(&'a self) -> &'a ConstStability
Immutably borrows from an owned value. Read more
sourceimpl<'tcx> Borrow<RegionKind> for Interned<'tcx, RegionKind>
impl<'tcx> Borrow<RegionKind> for Interned<'tcx, RegionKind>
sourcefn borrow<'a>(&'a self) -> &'a RegionKind
fn borrow<'a>(&'a self) -> &'a RegionKind
Immutably borrows from an owned value. Read more
sourceimpl<'tcx> Hash for Interned<'tcx, PredicateInner<'tcx>>
impl<'tcx> Hash for Interned<'tcx, PredicateInner<'tcx>>
sourceimpl<'tcx> Hash for Interned<'tcx, RegionKind>
impl<'tcx> Hash for Interned<'tcx, RegionKind>
sourceimpl<'tcx> Hash for Interned<'tcx, Allocation>
impl<'tcx> Hash for Interned<'tcx, Allocation>
sourceimpl<'tcx> Hash for Interned<'tcx, ConstStability>
impl<'tcx> Hash for Interned<'tcx, ConstStability>
sourceimpl<'tcx, T: 'tcx + ?Sized> IntoPointer for Interned<'tcx, T>
impl<'tcx, T: 'tcx + ?Sized> IntoPointer for Interned<'tcx, T>
sourcefn into_pointer(&self) -> *const ()
fn into_pointer(&self) -> *const ()
Returns a pointer which outlives self.
sourceimpl<'tcx> PartialEq<Interned<'tcx, Allocation<AllocId, ()>>> for Interned<'tcx, Allocation>
impl<'tcx> PartialEq<Interned<'tcx, Allocation<AllocId, ()>>> for Interned<'tcx, Allocation>
sourceimpl<'tcx> PartialEq<Interned<'tcx, ConstStability>> for Interned<'tcx, ConstStability>
impl<'tcx> PartialEq<Interned<'tcx, ConstStability>> for Interned<'tcx, ConstStability>
sourceimpl<'tcx> PartialEq<Interned<'tcx, PredicateInner<'tcx>>> for Interned<'tcx, PredicateInner<'tcx>>
impl<'tcx> PartialEq<Interned<'tcx, PredicateInner<'tcx>>> for Interned<'tcx, PredicateInner<'tcx>>
sourceimpl<'tcx> PartialEq<Interned<'tcx, RegionKind>> for Interned<'tcx, RegionKind>
impl<'tcx> PartialEq<Interned<'tcx, RegionKind>> for Interned<'tcx, RegionKind>
impl<'tcx, T: 'tcx + ?Sized> Copy for Interned<'tcx, T>
impl<'tcx> Eq for Interned<'tcx, TyS<'tcx>>
impl<'tcx> Eq for Interned<'tcx, PredicateInner<'tcx>>
impl<'tcx, T: Eq> Eq for Interned<'tcx, List<T>>
impl<'tcx> Eq for Interned<'tcx, RegionKind>
impl<'tcx> Eq for Interned<'tcx, Const<'tcx>>
impl<'tcx> Eq for Interned<'tcx, Allocation>
impl<'tcx> Eq for Interned<'tcx, Layout>
impl<'tcx> Eq for Interned<'tcx, AdtDef>
impl<'tcx> Eq for Interned<'tcx, Stability>
impl<'tcx> Eq for Interned<'tcx, ConstStability>
Auto Trait Implementations
impl<'tcx, T: ?Sized> RefUnwindSafe for Interned<'tcx, T> where
T: RefUnwindSafe,
impl<'tcx, T: ?Sized> Send for Interned<'tcx, T> where
T: Sync,
impl<'tcx, T: ?Sized> Sync for Interned<'tcx, T> where
T: Sync,
impl<'tcx, T: ?Sized> Unpin for Interned<'tcx, T>
impl<'tcx, T: ?Sized> UnwindSafe for Interned<'tcx, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for T where
T: Copy,
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for T where
T: Copy,
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<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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.