pub enum PostulateViolation {
SubArgumentNotInExtension {
parent: ArgumentId,
sub: ArgumentId,
},
StrictClosureViolation {
missing: Literal,
},
DirectInconsistency {
literal: Literal,
},
IndirectInconsistency {
literal: Literal,
},
}Expand description
A specific postulate violation with a short human-readable description.
Variants§
SubArgumentNotInExtension
Argument parent is in the extension but its sub-argument sub
is not. Violates sub-argument closure.
Fields
§
parent: ArgumentIdArgument that IS in the extension.
§
sub: ArgumentIdSub-argument of parent that is NOT in the extension.
StrictClosureViolation
The extension’s conclusion set derives literal via strict rules
but no argument in the extension concludes literal. Violates
closure under strict rules.
Fields
DirectInconsistency
Both literal and its contrary appear in the extension’s
conclusion set. Violates direct consistency.
Fields
IndirectInconsistency
The strict-rule closure of the extension’s conclusions is inconsistent (contains both a literal and its contrary).
Trait Implementations§
Source§impl Clone for PostulateViolation
impl Clone for PostulateViolation
Source§fn clone(&self) -> PostulateViolation
fn clone(&self) -> PostulateViolation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostulateViolation
impl Debug for PostulateViolation
Source§impl PartialEq for PostulateViolation
impl PartialEq for PostulateViolation
impl Eq for PostulateViolation
impl StructuralPartialEq for PostulateViolation
Auto Trait Implementations§
impl Freeze for PostulateViolation
impl RefUnwindSafe for PostulateViolation
impl Send for PostulateViolation
impl Sync for PostulateViolation
impl Unpin for PostulateViolation
impl UnsafeUnpin for PostulateViolation
impl UnwindSafe for PostulateViolation
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.