[−][src]Struct rustc_middle::traits::query::DtorckConstraint
A set of constraints that need to be satisfied in order for a type to be valid for destruction.
Fields
outlives: Vec<GenericArg<'tcx>>Types that are required to be alive in order for this type to be valid for destruction.
dtorck_types: Vec<Ty<'tcx>>Types that could not be resolved: projections and params.
overflows: Vec<Ty<'tcx>>If, during the computation of the dtorck constraint, we overflow, that gets recorded here. The caller is expected to report an error.
Implementations
impl<'tcx> DtorckConstraint<'tcx>[src]
pub fn empty() -> DtorckConstraint<'tcx>[src]
Trait Implementations
impl<'tcx> Clone for DtorckConstraint<'tcx>[src]
pub fn clone(&self) -> DtorckConstraint<'tcx>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'tcx> Debug for DtorckConstraint<'tcx>[src]
impl<'tcx> FromIterator<DtorckConstraint<'tcx>> for DtorckConstraint<'tcx>[src]
pub fn from_iter<I: IntoIterator<Item = DtorckConstraint<'tcx>>>(
iter: I
) -> Self[src]
iter: I
) -> Self
impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DtorckConstraint<'tcx>[src]
pub fn hash_stable(
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)[src]
&self,
__hcx: &mut StableHashingContext<'__ctx>,
__hasher: &mut StableHasher
)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for DtorckConstraint<'tcx>
impl<'tcx> !Send for DtorckConstraint<'tcx>
impl<'tcx> !Sync for DtorckConstraint<'tcx>
impl<'tcx> Unpin for DtorckConstraint<'tcx>
impl<'tcx> !UnwindSafe for DtorckConstraint<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> MaybeResult<T> for T[src]
type Error = !
pub fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
pub fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.