pub struct DeductiveRule {
pub name: String,
pub arity: usize,
pub description: String,
}Expand description
A rule in a deductive synthesis calculus.
Rules transform goal triples (pre, post, type) into sub-goals.
Fields§
§name: StringName of the rule (e.g., “seq”, “if-then-else”, “while”).
arity: usizeNumber of sub-goals this rule produces.
description: StringInformal description.
Implementations§
Trait Implementations§
Source§impl Clone for DeductiveRule
impl Clone for DeductiveRule
Source§fn clone(&self) -> DeductiveRule
fn clone(&self) -> DeductiveRule
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 DeductiveRule
impl Debug for DeductiveRule
Source§impl PartialEq for DeductiveRule
impl PartialEq for DeductiveRule
impl Eq for DeductiveRule
impl StructuralPartialEq for DeductiveRule
Auto Trait Implementations§
impl Freeze for DeductiveRule
impl RefUnwindSafe for DeductiveRule
impl Send for DeductiveRule
impl Sync for DeductiveRule
impl Unpin for DeductiveRule
impl UnsafeUnpin for DeductiveRule
impl UnwindSafe for DeductiveRule
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