pub struct CertDefinition {
pub name: String,
pub ty: Term,
pub body: Term,
}Expand description
A transparent definition in a theorem’s disclosed environment: name : type := body,
δ-unfoldable during re-checking exactly as the prover registered it.
Fields§
§name: String§ty: Term§body: TermTrait Implementations§
Source§impl Clone for CertDefinition
impl Clone for CertDefinition
Source§fn clone(&self) -> CertDefinition
fn clone(&self) -> CertDefinition
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 CertDefinition
impl Debug for CertDefinition
Source§impl<'de> Deserialize<'de> for CertDefinition
impl<'de> Deserialize<'de> for CertDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CertDefinition
impl PartialEq for CertDefinition
Source§impl Serialize for CertDefinition
impl Serialize for CertDefinition
impl StructuralPartialEq for CertDefinition
Auto Trait Implementations§
impl Freeze for CertDefinition
impl RefUnwindSafe for CertDefinition
impl Send for CertDefinition
impl Sync for CertDefinition
impl Unpin for CertDefinition
impl UnsafeUnpin for CertDefinition
impl UnwindSafe for CertDefinition
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