pub struct DefaultRule {
pub ab_name: String,
pub restriction_pred: Option<String>,
pub unary: bool,
}Expand description
Convert a Term to ProofTerm.
A defeasible default extracted by logic_expr_to_proof_expr_defeasible:
the abnormality predicate guarding one GEN rule or implicature.
Fields§
§ab_name: StringThe abnormality predicate name (ab_1, ab_2, …).
restriction_pred: Option<String>The generic’s restrictor predicate (“penguin” in GEN x(Penguin → …)),
used for specificity ordering. None for implicatures.
unary: boolUnary (per-individual, generics) vs propositional (implicatures).
Trait Implementations§
Source§impl Clone for DefaultRule
impl Clone for DefaultRule
Source§fn clone(&self) -> DefaultRule
fn clone(&self) -> DefaultRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DefaultRule
impl RefUnwindSafe for DefaultRule
impl Send for DefaultRule
impl Sync for DefaultRule
impl Unpin for DefaultRule
impl UnsafeUnpin for DefaultRule
impl UnwindSafe for DefaultRule
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