pub struct Solution {
pub path: Vec<String>,
pub bindings: HashMap<String, Value>,
}Expand description
A single solution found during search
Fields§
§path: Vec<String>Path taken to prove the goal (sequence of rule names)
bindings: HashMap<String, Value>Variable bindings from this proof
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Solution
impl RefUnwindSafe for Solution
impl Send for Solution
impl Sync for Solution
impl Unpin for Solution
impl UnwindSafe for Solution
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