pub struct RegionConstraintStorage<'tcx> {
pub(super) var_infos: IndexVec<RegionVid, RegionVariableInfo<'tcx>>,
pub(super) legacy_data: RegionConstraintData<'tcx>,
pub(super) solver_data: SolverRegionConstraintData<'tcx>,
lubs: HashMap<TwoRegions<'tcx>, RegionVid, FxBuildHasher>,
glbs: HashMap<TwoRegions<'tcx>, RegionVid, FxBuildHasher>,
pub(super) unification_table: UnificationTable<InPlace<RegionVidKey<'tcx>, Vec<VarValue<RegionVidKey<'tcx>>>, ()>>,
any_unifications: bool,
}Fields§
§var_infos: IndexVec<RegionVid, RegionVariableInfo<'tcx>>§legacy_data: RegionConstraintData<'tcx>§solver_data: SolverRegionConstraintData<'tcx>§lubs: HashMap<TwoRegions<'tcx>, RegionVid, FxBuildHasher>§glbs: HashMap<TwoRegions<'tcx>, RegionVid, FxBuildHasher>§unification_table: UnificationTable<InPlace<RegionVidKey<'tcx>, Vec<VarValue<RegionVidKey<'tcx>>>, ()>>§any_unifications: boolTrait Implementations§
Source§impl<'tcx> Clone for RegionConstraintStorage<'tcx>
impl<'tcx> Clone for RegionConstraintStorage<'tcx>
Source§fn clone(&self) -> RegionConstraintStorage<'tcx>
fn clone(&self) -> RegionConstraintStorage<'tcx>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tcx> Default for RegionConstraintStorage<'tcx>
impl<'tcx> Default for RegionConstraintStorage<'tcx>
Source§fn default() -> RegionConstraintStorage<'tcx>
fn default() -> RegionConstraintStorage<'tcx>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for RegionConstraintStorage<'tcx>
impl<'tcx> !UnwindSafe for RegionConstraintStorage<'tcx>
impl<'tcx> DynSend for RegionConstraintStorage<'tcx>where
Vec<RegionVariableInfo<'tcx>>: DynSend,
Vec<(Constraint<'tcx>, SubregionOrigin<'tcx>)>: DynSend,
Vec<Verify<'tcx>>: DynSend,
SmallVec<[(LeafRegionConstraint<TyCtxt<'tcx>>, Span); 1]>: DynSend,
SmallVec<[And<TyCtxt<'tcx>, Span>; 1]>: DynSend,
Vec<(usize, VisibleForLeakCheck, bool)>: DynSend,
HashMap<TwoRegions<'tcx>, RegionVid, FxBuildHasher>: DynSend,
Vec<VarValue<RegionVidKey<'tcx>>>: DynSend,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: DynSend,
impl<'tcx> DynSync for RegionConstraintStorage<'tcx>where
Vec<RegionVariableInfo<'tcx>>: DynSync,
Vec<(Constraint<'tcx>, SubregionOrigin<'tcx>)>: DynSync,
Vec<Verify<'tcx>>: DynSync,
SmallVec<[(LeafRegionConstraint<TyCtxt<'tcx>>, Span); 1]>: DynSync,
SmallVec<[And<TyCtxt<'tcx>, Span>; 1]>: DynSync,
Vec<(usize, VisibleForLeakCheck, bool)>: DynSync,
HashMap<TwoRegions<'tcx>, RegionVid, FxBuildHasher>: DynSync,
Vec<VarValue<RegionVidKey<'tcx>>>: DynSync,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: DynSync,
impl<'tcx> Forget for RegionConstraintStorage<'tcx>
impl<'tcx> Freeze for RegionConstraintStorage<'tcx>where
*const u8 is !null: Freeze,
PhantomData<RegionVariableInfo<'tcx>>: Freeze,
PhantomData<fn(&RegionVid)>: Freeze,
PhantomData<(Constraint<'tcx>, SubregionOrigin<'tcx>)>: Freeze,
PhantomData<Verify<'tcx>>: Freeze,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: Freeze,
DefId: Freeze,
GenericArgs<'tcx>: Freeze,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: Freeze,
Ty<'tcx>: Freeze,
*const (LeafRegionConstraint<TyCtxt<'tcx>>, Span) is !null: Freeze,
*const And<TyCtxt<'tcx>, Span> is !null: Freeze,
PhantomData<(usize, VisibleForLeakCheck, bool)>: Freeze,
PhantomData<(TwoRegions<'tcx>, RegionVid)>: Freeze,
PhantomData<VarValue<RegionVidKey<'tcx>>>: Freeze,
PhantomData<Delegate<RegionVidKey<'tcx>>>: Freeze,
impl<'tcx> Move for RegionConstraintStorage<'tcx>
impl<'tcx> Send for RegionConstraintStorage<'tcx>where
IndexVec<RegionVid, RegionVariableInfo<'tcx>>: Send,
RawVecInner: Send,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: Send,
BoxRaw<TypeTrace<'tcx>>: Send,
&'tcx WithCachedTypeInfo<TyKind<TyCtxt<'tcx>>>: Send,
BoxRaw<SubregionOrigin<'tcx>>: Send,
DefId: Send,
GenericArgs<'tcx>: Send,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: Send,
SmallVec<[(LeafRegionConstraint<TyCtxt<'tcx>>, Span); 1]>: Send,
SmallVec<[And<TyCtxt<'tcx>, Span>; 1]>: Send,
RawTable<(TwoRegions<'tcx>, RegionVid)>: Send,
RegionVariableValue<'tcx>: Send,
impl<'tcx> Sync for RegionConstraintStorage<'tcx>where
RawVecInner: Sync,
Symbol: Sync,
DefId: Sync,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: Sync,
BoxRaw<TypeTrace<'tcx>>: Sync,
AdtDef<'tcx>: Sync,
GenericArgs<'tcx>: Sync,
Ty<'tcx>: Sync,
Interned<'tcx, WithCachedTypeInfo<ConstKind<TyCtxt<'tcx>>>>: Sync,
Pattern<'tcx>: Sync,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: Sync,
&'tcx RawList<(), Ty<'tcx>>: Sync,
&'tcx RawList<(), Binder<TyCtxt<'tcx>, ExistentialPredicate<TyCtxt<'tcx>>>>: Sync,
ParamTy: Sync,
ErrorGuaranteed: Sync,
InternalBitFlags: Sync,
BoxRaw<SubregionOrigin<'tcx>>: Sync,
SmallVecData<[(LeafRegionConstraint<TyCtxt<'tcx>>, Span); 1]>: Sync,
SmallVecData<[And<TyCtxt<'tcx>, Span>; 1]>: Sync,
RawTable<(TwoRegions<'tcx>, RegionVid)>: Sync,
RegionVariableValue<'tcx>: Sync,
impl<'tcx> Unpin for RegionConstraintStorage<'tcx>where
*const u8 is !null: Unpin,
Symbol: Unpin,
DefId: Unpin,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: Unpin,
Box<TypeTrace<'tcx>>: Unpin,
&'tcx WithCachedTypeInfo<TyKind<TyCtxt<'tcx>>>: Unpin,
Box<SubregionOrigin<'tcx>>: Unpin,
GenericArgs<'tcx>: Unpin,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: Unpin,
Ty<'tcx>: Unpin,
*const (LeafRegionConstraint<TyCtxt<'tcx>>, Span) is !null: Unpin,
*const And<TyCtxt<'tcx>, Span> is !null: Unpin,
RegionVariableValue<'tcx>: Unpin,
impl<'tcx> UnsafeUnpin for RegionConstraintStorage<'tcx>where
*const u8 is !null: UnsafeUnpin,
PhantomData<RegionVariableInfo<'tcx>>: UnsafeUnpin,
PhantomData<fn(&RegionVid)>: UnsafeUnpin,
PhantomData<(Constraint<'tcx>, SubregionOrigin<'tcx>)>: UnsafeUnpin,
PhantomData<Verify<'tcx>>: UnsafeUnpin,
Interned<'tcx, RegionKind<TyCtxt<'tcx>>>: UnsafeUnpin,
DefId: UnsafeUnpin,
GenericArgs<'tcx>: UnsafeUnpin,
&'tcx RawList<(), BoundVariableKind<TyCtxt<'tcx>>>: UnsafeUnpin,
Ty<'tcx>: UnsafeUnpin,
*const (LeafRegionConstraint<TyCtxt<'tcx>>, Span) is !null: UnsafeUnpin,
*const And<TyCtxt<'tcx>, Span> is !null: UnsafeUnpin,
PhantomData<(usize, VisibleForLeakCheck, bool)>: UnsafeUnpin,
PhantomData<(TwoRegions<'tcx>, RegionVid)>: UnsafeUnpin,
PhantomData<VarValue<RegionVidKey<'tcx>>>: UnsafeUnpin,
PhantomData<Delegate<RegionVidKey<'tcx>>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<K> IntoQueryKey<K> for K
impl<K> IntoQueryKey<K> for K
Source§fn into_query_key(self) -> K
fn into_query_key(self) -> K
Argument conversion from
Self to K.
This should always be a very cheap conversion, e.g. LocalDefId::to_def_id.Source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
Source§impl<I, T> UpcastFrom<I, T> for T
impl<I, T> UpcastFrom<I, T> for T
fn upcast_from(from: T, _tcx: I) -> T
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
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: 312 bytes