pub struct EpistemicSolverAssumptionBinding {
pub literal_index: usize,
pub reduction_index: usize,
pub predicate: String,
pub arity: usize,
pub terms: Vec<EirTerm>,
pub op: EirEpistemicOp,
pub negated: bool,
}Expand description
Binding from an epistemic literal to a solver assumption obligation.
Fields§
§literal_index: usizeIndex of the epistemic literal in EpistemicGpuPlan::epistemic_literals.
reduction_index: usizeIndex of the reduced rule in EpistemicGpuPlan::reductions.
predicate: StringPredicate whose epistemic truth becomes a solver assumption.
arity: usizePredicate arity for the solver assumption.
terms: Vec<EirTerm>Source atom terms that define the solver assumption key.
op: EirEpistemicOpEpistemic operator represented by the assumption.
negated: boolWhether the epistemic literal is explicitly negated.
Trait Implementations§
Source§impl Clone for EpistemicSolverAssumptionBinding
impl Clone for EpistemicSolverAssumptionBinding
Source§fn clone(&self) -> EpistemicSolverAssumptionBinding
fn clone(&self) -> EpistemicSolverAssumptionBinding
Returns a duplicate 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 moreSource§impl PartialEq for EpistemicSolverAssumptionBinding
impl PartialEq for EpistemicSolverAssumptionBinding
Source§fn eq(&self, other: &EpistemicSolverAssumptionBinding) -> bool
fn eq(&self, other: &EpistemicSolverAssumptionBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for EpistemicSolverAssumptionBinding
impl StructuralPartialEq for EpistemicSolverAssumptionBinding
Auto Trait Implementations§
impl Freeze for EpistemicSolverAssumptionBinding
impl RefUnwindSafe for EpistemicSolverAssumptionBinding
impl Send for EpistemicSolverAssumptionBinding
impl Sync for EpistemicSolverAssumptionBinding
impl Unpin for EpistemicSolverAssumptionBinding
impl UnsafeUnpin for EpistemicSolverAssumptionBinding
impl UnwindSafe for EpistemicSolverAssumptionBinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more