Struct rustc_middle::ty::context::InternedInSet
source · [−]Tuple Fields
0: &'tcx TTrait Implementations
sourceimpl<'tcx> Borrow<AdtDef> for InternedInSet<'tcx, AdtDef>
impl<'tcx> Borrow<AdtDef> for InternedInSet<'tcx, AdtDef>
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<ConstStability> for InternedInSet<'tcx, ConstStability>
impl<'tcx> Borrow<ConstStability> for InternedInSet<'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<Layout> for InternedInSet<'tcx, Layout>
impl<'tcx> Borrow<Layout> for InternedInSet<'tcx, Layout>
sourceimpl<'tcx> Borrow<RegionKind> for InternedInSet<'tcx, RegionKind>
impl<'tcx> Borrow<RegionKind> for InternedInSet<'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> Borrow<Stability> for InternedInSet<'tcx, Stability>
impl<'tcx> Borrow<Stability> for InternedInSet<'tcx, Stability>
sourceimpl<'tcx> Borrow<TyKind<'tcx>> for InternedInSet<'tcx, TyS<'tcx>>
impl<'tcx> Borrow<TyKind<'tcx>> for InternedInSet<'tcx, 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, TyS<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, TyS<'tcx>>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, PredicateS<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, PredicateS<'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, RegionKind>
impl<'tcx> Hash for InternedInSet<'tcx, RegionKind>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, ConstS<'tcx>>
impl<'tcx> Hash for InternedInSet<'tcx, ConstS<'tcx>>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, Allocation>
impl<'tcx> Hash for InternedInSet<'tcx, Allocation>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, Layout>
impl<'tcx> Hash for InternedInSet<'tcx, Layout>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, AdtDef>
impl<'tcx> Hash for InternedInSet<'tcx, AdtDef>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, Stability>
impl<'tcx> Hash for InternedInSet<'tcx, Stability>
sourceimpl<'tcx> Hash for InternedInSet<'tcx, ConstStability>
impl<'tcx> Hash for InternedInSet<'tcx, ConstStability>
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, AdtDef>> for InternedInSet<'tcx, AdtDef>
impl<'tcx> PartialEq<InternedInSet<'tcx, AdtDef>> for InternedInSet<'tcx, AdtDef>
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, ConstStability>> for InternedInSet<'tcx, ConstStability>
impl<'tcx> PartialEq<InternedInSet<'tcx, ConstStability>> for InternedInSet<'tcx, ConstStability>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, Layout>> for InternedInSet<'tcx, Layout>
impl<'tcx> PartialEq<InternedInSet<'tcx, Layout>> for InternedInSet<'tcx, Layout>
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>>
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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, RegionKind>> for InternedInSet<'tcx, RegionKind>
impl<'tcx> PartialEq<InternedInSet<'tcx, RegionKind>> for InternedInSet<'tcx, RegionKind>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, Stability>> for InternedInSet<'tcx, Stability>
impl<'tcx> PartialEq<InternedInSet<'tcx, Stability>> for InternedInSet<'tcx, Stability>
sourceimpl<'tcx> PartialEq<InternedInSet<'tcx, TyS<'tcx>>> for InternedInSet<'tcx, TyS<'tcx>>
impl<'tcx> PartialEq<InternedInSet<'tcx, TyS<'tcx>>> for InternedInSet<'tcx, TyS<'tcx>>
impl<'tcx, T: 'tcx + ?Sized> Copy for InternedInSet<'tcx, T>
impl<'tcx> Eq for InternedInSet<'tcx, TyS<'tcx>>
impl<'tcx> Eq for InternedInSet<'tcx, PredicateS<'tcx>>
impl<'tcx, T: Eq> Eq for InternedInSet<'tcx, List<T>>
impl<'tcx> Eq for InternedInSet<'tcx, RegionKind>
impl<'tcx> Eq for InternedInSet<'tcx, ConstS<'tcx>>
impl<'tcx> Eq for InternedInSet<'tcx, Allocation>
impl<'tcx> Eq for InternedInSet<'tcx, Layout>
impl<'tcx> Eq for InternedInSet<'tcx, AdtDef>
impl<'tcx> Eq for InternedInSet<'tcx, Stability>
impl<'tcx> Eq for InternedInSet<'tcx, ConstStability>
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 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 &'_ mut [u8]impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [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.