[−][src]Struct rustc_infer::traits::ChalkEnvironmentAndGoal
We have to elaborate the environment of a chalk goal before canonicalization. This type wraps the predicate and the elaborated environment.
Fields
environment: &'tcx List<ChalkEnvironmentClause<'tcx>>goal: Predicate<'tcx>Trait Implementations
impl<'tcx> Clone for ChalkEnvironmentAndGoal<'tcx>[src]
fn clone(&self) -> ChalkEnvironmentAndGoal<'tcx>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'tcx> Copy for ChalkEnvironmentAndGoal<'tcx>[src]
impl<'tcx> Debug for ChalkEnvironmentAndGoal<'tcx>[src]
impl<'tcx> Display for ChalkEnvironmentAndGoal<'tcx>[src]
impl<'tcx> Eq for ChalkEnvironmentAndGoal<'tcx>[src]
impl<'tcx> Hash for ChalkEnvironmentAndGoal<'tcx>[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'tcx> PartialEq<ChalkEnvironmentAndGoal<'tcx>> for ChalkEnvironmentAndGoal<'tcx>[src]
fn eq(&self, other: &ChalkEnvironmentAndGoal<'tcx>) -> bool[src]
fn ne(&self, other: &ChalkEnvironmentAndGoal<'tcx>) -> bool[src]
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ChalkEnvironmentAndGoal<'tcx>
impl<'tcx> !Send for ChalkEnvironmentAndGoal<'tcx>
impl<'tcx> !Sync for ChalkEnvironmentAndGoal<'tcx>
impl<'tcx> Unpin for ChalkEnvironmentAndGoal<'tcx>
impl<'tcx> !UnwindSafe for ChalkEnvironmentAndGoal<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
T: Copy, [src]
T: Copy,
fn allocate_on(self, arena: &'a Arena<'tcx>) -> &'a mut T[src]
fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T][src]
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
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<'tcx, T> Subst<'tcx> for T where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
fn subst_spanned(
&self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T[src]
&self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
fn subst(&self, tcx: TyCtxt<'tcx>, substs: &[GenericArg<'tcx>]) -> Self[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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.
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.