pub struct LpClause {
pub head: LpTerm,
pub body: Vec<LpTerm>,
}Expand description
A Horn clause: head :- body1, body2, ... or a fact: head. (empty body).
Fields§
§head: LpTermThe head of the clause.
body: Vec<LpTerm>The body (conjunction of goals). Empty for facts.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LpClause
impl RefUnwindSafe for LpClause
impl Send for LpClause
impl Sync for LpClause
impl Unpin for LpClause
impl UnsafeUnpin for LpClause
impl UnwindSafe for LpClause
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