pub enum AnyCertificate {
Proof(Certificate),
Theorem(TheoremCertificate),
Environment(EnvironmentCertificate),
}Expand description
Every certificate this module defines, read from JSON by one door.
Variants§
Proof(Certificate)
A Certificate: a proof in the bare prelude.
Theorem(TheoremCertificate)
A TheoremCertificate: a proof from a disclosed environment delta.
Environment(EnvironmentCertificate)
An EnvironmentCertificate: a proof together with every declaration it needs.
Trait Implementations§
Source§impl Clone for AnyCertificate
impl Clone for AnyCertificate
Source§fn clone(&self) -> AnyCertificate
fn clone(&self) -> AnyCertificate
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 AnyCertificate
impl Debug for AnyCertificate
Source§impl PartialEq for AnyCertificate
impl PartialEq for AnyCertificate
impl StructuralPartialEq for AnyCertificate
Auto Trait Implementations§
impl Freeze for AnyCertificate
impl RefUnwindSafe for AnyCertificate
impl Send for AnyCertificate
impl Sync for AnyCertificate
impl Unpin for AnyCertificate
impl UnsafeUnpin for AnyCertificate
impl UnwindSafe for AnyCertificate
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