pub enum Premise {
Necessary(Literal),
Ordinary(Literal),
}Expand description
A premise in the knowledge base.
Variants§
Necessary(Literal)
Necessary premise (indefeasible): cannot be attacked.
Ordinary(Literal)
Ordinary premise (defeasible): can be attacked by undermining.
Implementations§
Trait Implementations§
impl Eq for Premise
impl StructuralPartialEq for Premise
Auto Trait Implementations§
impl Freeze for Premise
impl RefUnwindSafe for Premise
impl Send for Premise
impl Sync for Premise
impl Unpin for Premise
impl UnsafeUnpin for Premise
impl UnwindSafe for Premise
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
§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
Compare self to
key and return true if they are equal.