Struct rustc_infer::traits::ChalkEnvironmentAndGoal [−][src]
pub struct ChalkEnvironmentAndGoal<'tcx> {
pub environment: &'tcx List<Predicate<'tcx>>,
pub goal: Predicate<'tcx>,
}
Expand description
A chalk environment and goal.
Fields
environment: &'tcx List<Predicate<'tcx>>
goal: Predicate<'tcx>
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
pub fn allocate_from_iter(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T]
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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: 16 bytes