pub struct CurryHoward {
pub proposition: String,
pub corresponding_type: String,
}Expand description
Proof-as-program correspondence (Curry-Howard).
Fields§
§proposition: StringThe proposition (as a string).
corresponding_type: StringThe corresponding type (as a string).
Implementations§
Trait Implementations§
Source§impl Clone for CurryHoward
impl Clone for CurryHoward
Source§fn clone(&self) -> CurryHoward
fn clone(&self) -> CurryHoward
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 moreAuto Trait Implementations§
impl Freeze for CurryHoward
impl RefUnwindSafe for CurryHoward
impl Send for CurryHoward
impl Sync for CurryHoward
impl Unpin for CurryHoward
impl UnsafeUnpin for CurryHoward
impl UnwindSafe for CurryHoward
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