Struct rustc_middle::ty::context::InternedInSet
source · Tuple Fields
0: &'tcx T
Trait Implementations
sourceimpl<'tcx, T> Borrow<[T]> for InternedInSet<'tcx, List<T>>
impl<'tcx, T> Borrow<[T]> for InternedInSet<'tcx, List<T>>
sourceimpl<'tcx> Borrow<AdtDefData> for InternedInSet<'tcx, AdtDefData>
impl<'tcx> Borrow<AdtDefData> for InternedInSet<'tcx, AdtDefData>
sourcefn borrow<'a>(&'a self) -> &'a AdtDefData
fn borrow<'a>(&'a self) -> &'a AdtDefData
Immutably borrows from an owned value. Read more
sourceimpl<'tcx> Borrow<Allocation<AllocId, ()>> for InternedInSet<'tcx, Allocation>
impl<'tcx> Borrow<Allocation<AllocId, ()>> for InternedInSet<'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 InternedInSet<'tcx, PredicateS<'tcx>>
impl<'tcx> Borrow<Binder<'tcx, PredicateKind<'tcx>>> for InternedInSet<'tcx, PredicateS<'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<ConstS<'tcx>> for InternedInSet<'tcx, ConstS<'tcx>>
impl<'tcx> Borrow<ConstS<'tcx>> for InternedInSet<'tcx, ConstS<'tcx>>
sourceimpl<'tcx> Borrow<LayoutS<'tcx>> for InternedInSet<'tcx, LayoutS<'tcx>>
impl<'tcx> Borrow<LayoutS<'tcx>> for InternedInSet<'tcx, LayoutS<'tcx>>
sourceimpl<'tcx> Borrow<RegionKind<TyCtxt<'tcx>>> for InternedInSet<'tcx, RegionKind<'tcx>>
impl<'tcx> Borrow<RegionKind<TyCtxt<'tcx>>> for InternedInSet<'tcx, RegionKind<'tcx>>
sourcefn borrow<'a>(&'a self) -> &'a RegionKind<'tcx>
fn borrow<'a>(&'a self) -> &'a RegionKind<'tcx>
Immutably borrows from an owned value. Read more
sourceimpl<'tcx> Borrow<TyKind<TyCtxt<'tcx>>> for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
impl<'tcx> Borrow<TyKind<TyCtxt<'tcx>>> for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
sourceimpl<'tcx, T: 'tcx + ?Sized> Clone for InternedInSet<'tcx, T>
impl<'tcx, T: 'tcx + ?Sized> Clone for InternedInSet<'tcx, T>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, AdtDefData>
impl<'tcx> Hash for InternedInSet<'tcx, AdtDefData>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, Allocation>
impl<'tcx> Hash for InternedInSet<'tcx, Allocation>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, ConstS<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, ConstS<'tcx>>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, LayoutS<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, LayoutS<'tcx>>
sourceimpl<'tcx, T: Hash> Hash for InternedInSet<'tcx, List<T>>
impl<'tcx, T: Hash> Hash for InternedInSet<'tcx, List<T>>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, PredicateS<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, PredicateS<'tcx>>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, RegionKind<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, RegionKind<'tcx>>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
impl<'tcx> Hash for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
sourceimpl<'tcx, T: 'tcx + ?Sized> IntoPointer for InternedInSet<'tcx, T>
impl<'tcx, T: 'tcx + ?Sized> IntoPointer for InternedInSet<'tcx, T>
sourcefn into_pointer(&self) -> *const ()
fn into_pointer(&self) -> *const ()
Returns a pointer which outlives
self
.sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, AdtDefData>> for InternedInSet<'tcx, AdtDefData>
impl<'tcx> PartialEq<InternedInSet<'tcx, AdtDefData>> for InternedInSet<'tcx, AdtDefData>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, Allocation<AllocId, ()>>> for InternedInSet<'tcx, Allocation>
impl<'tcx> PartialEq<InternedInSet<'tcx, Allocation<AllocId, ()>>> for InternedInSet<'tcx, Allocation>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, ConstS<'tcx>>> for InternedInSet<'tcx, ConstS<'tcx>>
impl<'tcx> PartialEq<InternedInSet<'tcx, ConstS<'tcx>>> for InternedInSet<'tcx, ConstS<'tcx>>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, LayoutS<'tcx>>> for InternedInSet<'tcx, LayoutS<'tcx>>
impl<'tcx> PartialEq<InternedInSet<'tcx, LayoutS<'tcx>>> for InternedInSet<'tcx, LayoutS<'tcx>>
sourceimpl<'tcx, T: PartialEq> PartialEq<InternedInSet<'tcx, List<T>>> for InternedInSet<'tcx, List<T>>
impl<'tcx, T: PartialEq> PartialEq<InternedInSet<'tcx, List<T>>> for InternedInSet<'tcx, List<T>>
sourcefn eq(&self, other: &InternedInSet<'tcx, List<T>>) -> bool
fn eq(&self, other: &InternedInSet<'tcx, List<T>>) -> bool
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, PredicateS<'tcx>>> for InternedInSet<'tcx, PredicateS<'tcx>>
impl<'tcx> PartialEq<InternedInSet<'tcx, PredicateS<'tcx>>> for InternedInSet<'tcx, PredicateS<'tcx>>
sourcefn eq(&self, other: &InternedInSet<'tcx, PredicateS<'tcx>>) -> bool
fn eq(&self, other: &InternedInSet<'tcx, PredicateS<'tcx>>) -> bool
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, RegionKind<TyCtxt<'tcx>>>> for InternedInSet<'tcx, RegionKind<'tcx>>
impl<'tcx> PartialEq<InternedInSet<'tcx, RegionKind<TyCtxt<'tcx>>>> for InternedInSet<'tcx, RegionKind<'tcx>>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>> for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
impl<'tcx> PartialEq<InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>> for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
sourcefn eq(&self, other: &InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>) -> bool
fn eq(&self, other: &InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>) -> bool
impl<'tcx, T: 'tcx + ?Sized> Copy for InternedInSet<'tcx, T>
impl<'tcx> Eq for InternedInSet<'tcx, AdtDefData>
impl<'tcx> Eq for InternedInSet<'tcx, Allocation>
impl<'tcx> Eq for InternedInSet<'tcx, ConstS<'tcx>>
impl<'tcx> Eq for InternedInSet<'tcx, LayoutS<'tcx>>
impl<'tcx, T: Eq> Eq for InternedInSet<'tcx, List<T>>
impl<'tcx> Eq for InternedInSet<'tcx, PredicateS<'tcx>>
impl<'tcx> Eq for InternedInSet<'tcx, RegionKind<'tcx>>
impl<'tcx> Eq for InternedInSet<'tcx, WithStableHash<TyS<'tcx>>>
Auto Trait Implementations
impl<'tcx, T: ?Sized> RefUnwindSafe for InternedInSet<'tcx, T>where
T: RefUnwindSafe,
impl<'tcx, T: ?Sized> Send for InternedInSet<'tcx, T>where
T: Sync,
impl<'tcx, T: ?Sized> Sync for InternedInSet<'tcx, T>where
T: Sync,
impl<'tcx, T: ?Sized> Unpin for InternedInSet<'tcx, T>
impl<'tcx, T: ?Sized> UnwindSafe for InternedInSet<'tcx, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
fn allocate_on(self, arena: &'a Arena<'tcx>) -> &'a mut T
fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, R> InternIteratorElement<T, R> for T
impl<T, R> InternIteratorElement<T, R> for T
type Output = R
fn intern_with<I, F>(iter: I, f: F) -> <T as InternIteratorElement<T, R>>::Outputwhere
I: Iterator<Item = T>,
F: FnOnce(&[T]) -> R,
sourceimpl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
sourceimpl<CTX, T> Value<CTX> for Twhere
CTX: DepContext,
impl<CTX, T> Value<CTX> for Twhere
CTX: DepContext,
default fn from_cycle_error(tcx: CTX) -> T
impl<'a, T> Captures<'a> for Twhere
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.