Struct chalk_recursive::fulfill::PositiveSolution
source · struct PositiveSolution<I: Interner> {
free_vars: Vec<GenericArg<I>>,
universes: UniverseMap,
solution: Solution<I>,
}
Expand description
When proving a leaf goal, we record the free variables that appear within it so that we can update inference state accordingly.
Fields§
§free_vars: Vec<GenericArg<I>>
§universes: UniverseMap
§solution: Solution<I>
Trait Implementations§
source§impl<I: Clone + Interner> Clone for PositiveSolution<I>
impl<I: Clone + Interner> Clone for PositiveSolution<I>
source§fn clone(&self) -> PositiveSolution<I>
fn clone(&self) -> PositiveSolution<I>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<I> Freeze for PositiveSolution<I>
impl<I> RefUnwindSafe for PositiveSolution<I>where
<I as Interner>::InternedCanonicalVarKinds: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
<I as Interner>::InternedConstraints: RefUnwindSafe,
<I as Interner>::InternedGenericArg: RefUnwindSafe,
impl<I> Send for PositiveSolution<I>
impl<I> Sync for PositiveSolution<I>
impl<I> Unpin for PositiveSolution<I>
impl<I> UnwindSafe for PositiveSolution<I>where
<I as Interner>::InternedCanonicalVarKinds: UnwindSafe,
<I as Interner>::InternedGenericArg: UnwindSafe,
<I as Interner>::InternedSubstitution: UnwindSafe,
<I as Interner>::InternedConstraints: UnwindSafe,
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
§impl<T> Cast for T
impl<T> Cast for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)