pub struct CertDeclaration {
pub name: String,
pub ty: Term,
}Expand description
A declaration in a theorem’s disclosed environment: a name : type assumption
(a premise hypothesis, or a declared predicate/constant) that the proof cites.
Fields§
§name: String§ty: TermTrait Implementations§
Source§impl Clone for CertDeclaration
impl Clone for CertDeclaration
Source§fn clone(&self) -> CertDeclaration
fn clone(&self) -> CertDeclaration
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 CertDeclaration
impl Debug for CertDeclaration
Source§impl<'de> Deserialize<'de> for CertDeclaration
impl<'de> Deserialize<'de> for CertDeclaration
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 CertDeclaration
impl PartialEq for CertDeclaration
Source§impl Serialize for CertDeclaration
impl Serialize for CertDeclaration
impl StructuralPartialEq for CertDeclaration
Auto Trait Implementations§
impl Freeze for CertDeclaration
impl RefUnwindSafe for CertDeclaration
impl Send for CertDeclaration
impl Sync for CertDeclaration
impl Unpin for CertDeclaration
impl UnsafeUnpin for CertDeclaration
impl UnwindSafe for CertDeclaration
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