pub struct ProofRuleSnapshot {
pub name: String,
pub premises: Vec<String>,
pub conclusion: String,
}Expand description
Printed view of a ProofRule for foundation_report(). Patterns are
stringified via key_of so consumers can pretty-print without owning
the AST representation.
Fields§
§name: String§premises: Vec<String>§conclusion: StringTrait Implementations§
Source§impl Clone for ProofRuleSnapshot
impl Clone for ProofRuleSnapshot
Source§fn clone(&self) -> ProofRuleSnapshot
fn clone(&self) -> ProofRuleSnapshot
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 ProofRuleSnapshot
impl Debug for ProofRuleSnapshot
Source§impl Default for ProofRuleSnapshot
impl Default for ProofRuleSnapshot
Source§fn default() -> ProofRuleSnapshot
fn default() -> ProofRuleSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProofRuleSnapshot
impl PartialEq for ProofRuleSnapshot
impl StructuralPartialEq for ProofRuleSnapshot
Auto Trait Implementations§
impl Freeze for ProofRuleSnapshot
impl RefUnwindSafe for ProofRuleSnapshot
impl Send for ProofRuleSnapshot
impl Sync for ProofRuleSnapshot
impl Unpin for ProofRuleSnapshot
impl UnsafeUnpin for ProofRuleSnapshot
impl UnwindSafe for ProofRuleSnapshot
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