pub enum PropTransform {
Quantify(JboTerm, JboQuantifier, Option<Arc<dyn Fn(i32) -> JboProp + Send + Sync>>),
ConnectQuantify {
conn: LogJboConnective,
fresh: JboTerm,
left_quant: JboQuantifier,
right_quant: JboQuantifier,
restriction: Option<Arc<dyn Fn(i32) -> JboProp + Send + Sync>>,
},
ConnectQuantifyTagged {
conn: LogJboConnective,
fresh: JboTerm,
left_quant: JboQuantifier,
right_quant: JboQuantifier,
restriction: Option<Arc<dyn Fn(i32) -> JboProp + Send + Sync>>,
event_fresh: Option<JboTerm>,
left_modal: Option<JboModalOp>,
right_modal: Option<JboModalOp>,
},
RQuantify(JboRel, JboQuantifier),
SubstituteTerm(JboTerm, JboTerm),
LogicalConnectBranches {
conn: LogJboConnective,
fresh: JboTerm,
left_term: JboTerm,
left_transforms: Vec<PropTransform>,
right_term: JboTerm,
right_transforms: Vec<PropTransform>,
},
ConnectBranches {
conn: Connective,
left_args: Args,
right_args: Args,
continuation_position: i32,
left_transforms: Vec<PropTransform>,
right_transforms: Vec<PropTransform>,
outer_transforms: Vec<PropTransform>,
},
ConnectTagBranches {
conn: JboConnective,
left_transforms: Vec<PropTransform>,
right_transforms: Vec<PropTransform>,
},
Negate,
ApplyModal(JboModalOp),
}Expand description
Represents a transformation to apply to a proposition (like quantification, negation, modals)
Variants§
Quantify(JboTerm, JboQuantifier, Option<Arc<dyn Fn(i32) -> JboProp + Send + Sync>>)
ConnectQuantify
ConnectQuantifyTagged
Fields
§
conn: LogJboConnective§
left_quant: JboQuantifier§
right_quant: JboQuantifier§
left_modal: Option<JboModalOp>§
right_modal: Option<JboModalOp>RQuantify(JboRel, JboQuantifier)
SubstituteTerm(JboTerm, JboTerm)
LogicalConnectBranches
Fields
§
conn: LogJboConnective§
left_transforms: Vec<PropTransform>§
right_transforms: Vec<PropTransform>ConnectBranches
Fields
§
conn: Connective§
left_transforms: Vec<PropTransform>§
right_transforms: Vec<PropTransform>§
outer_transforms: Vec<PropTransform>ConnectTagBranches
Negate
ApplyModal(JboModalOp)
Trait Implementations§
Source§impl Clone for PropTransform
impl Clone for PropTransform
Source§fn clone(&self) -> PropTransform
fn clone(&self) -> PropTransform
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 PropTransform
impl !RefUnwindSafe for PropTransform
impl Send for PropTransform
impl Sync for PropTransform
impl Unpin for PropTransform
impl UnsafeUnpin for PropTransform
impl !UnwindSafe for PropTransform
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