Enum arde::EvalOutput
source · pub enum EvalOutput {
Proof(Option<Vec<GroundedBodyAtom>>),
Valid(HashMap<String, HashSet<GroundedTerm>>),
Invalid,
}Variants§
Proof(Option<Vec<GroundedBodyAtom>>)
Proof tree for the goal. Returned if the goal is grounded. None indicates ungrounded goals exist.
Valid(HashMap<String, HashSet<GroundedTerm>>)
Sets of valid values that a term can take to satisfy the program.
Invalid
No variables were groundable.
Implementations§
source§impl EvalOutput
impl EvalOutput
pub fn goal_satisfied(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EvalOutput
impl Send for EvalOutput
impl Sync for EvalOutput
impl Unpin for EvalOutput
impl UnwindSafe for EvalOutput
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