Struct chalk_engine::CompleteAnswer
source · pub struct CompleteAnswer<I: Interner> {
pub subst: Canonical<ConstrainedSubst<I>>,
pub ambiguous: bool,
}
Fields§
§subst: Canonical<ConstrainedSubst<I>>
Contains values for the unbound inference variables for which the table is true, along with any region constrained (which must still be proven, but not by chalk).
ambiguous: bool
If this flag is set, then the answer could be neither proven
nor disproven. This could be the size of the answer exceeded
max_size
or because of a negative loop (e.g., P :- not { P }
).
Trait Implementations§
source§impl<I: Clone + Interner> Clone for CompleteAnswer<I>
impl<I: Clone + Interner> Clone for CompleteAnswer<I>
source§fn clone(&self) -> CompleteAnswer<I>
fn clone(&self) -> CompleteAnswer<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 CompleteAnswer<I>
impl<I> RefUnwindSafe for CompleteAnswer<I>where
<I as Interner>::InternedCanonicalVarKinds: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
<I as Interner>::InternedConstraints: RefUnwindSafe,
impl<I> Send for CompleteAnswer<I>
impl<I> Sync for CompleteAnswer<I>
impl<I> Unpin for CompleteAnswer<I>
impl<I> UnwindSafe for CompleteAnswer<I>where
<I as Interner>::InternedCanonicalVarKinds: 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
)