pub struct HoareTriple {
pub pre: Assertion,
pub command: String,
pub post: Assertion,
pub total: bool,
}Expand description
A Hoare triple {P} C {Q}.
Fields§
§pre: AssertionPre-condition.
command: StringProgram command (as a string).
post: AssertionPost-condition.
total: boolWhether this is a total-correctness triple.
Implementations§
Trait Implementations§
Source§impl Clone for HoareTriple
impl Clone for HoareTriple
Source§fn clone(&self) -> HoareTriple
fn clone(&self) -> HoareTriple
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 HoareTriple
impl RefUnwindSafe for HoareTriple
impl Send for HoareTriple
impl Sync for HoareTriple
impl Unpin for HoareTriple
impl UnsafeUnpin for HoareTriple
impl UnwindSafe for HoareTriple
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