pub struct Axiom {
pub conditions: Vec<Fact>,
pub head: Fact,
}Expand description
A rule conditions → head that sets the derived variable head.var.
Fields§
§conditions: Vec<Fact>§head: FactTrait Implementations§
Source§impl<'de> Deserialize<'de> for Axiom
impl<'de> Deserialize<'de> for Axiom
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Axiom
impl StructuralPartialEq for Axiom
Auto Trait Implementations§
impl Forget for Axiom
impl Freeze for Axiom
impl Move for Axiom
impl RefUnwindSafe for Axiom
impl Send for Axiom
impl Sync for Axiom
impl Unpin for Axiom
impl UnsafeUnpin for Axiom
impl UnwindSafe for Axiom
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