pub struct ProofTemplate {
pub name: String,
pub steps: Vec<TemplateStep>,
pub parameters: Vec<String>,
pub occurrences: usize,
pub success_rate: f64,
}Expand description
A proof template representing a reusable proof pattern.
Fields§
§name: StringTemplate name/identifier
steps: Vec<TemplateStep>Template steps (abstracted)
parameters: Vec<String>Template parameters (variables to instantiate)
occurrences: usizeNumber of times this template was found
success_rate: f64Success rate when applied
Trait Implementations§
Source§impl Clone for ProofTemplate
impl Clone for ProofTemplate
Source§fn clone(&self) -> ProofTemplate
fn clone(&self) -> ProofTemplate
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 ProofTemplate
impl Debug for ProofTemplate
Source§impl Display for ProofTemplate
impl Display for ProofTemplate
Source§impl PartialEq for ProofTemplate
impl PartialEq for ProofTemplate
impl StructuralPartialEq for ProofTemplate
Auto Trait Implementations§
impl Freeze for ProofTemplate
impl RefUnwindSafe for ProofTemplate
impl Send for ProofTemplate
impl Sync for ProofTemplate
impl Unpin for ProofTemplate
impl UnsafeUnpin for ProofTemplate
impl UnwindSafe for ProofTemplate
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