pub struct ProgramSpec {
pub pre: ConstructiveProp,
pub post: ConstructiveProp,
pub name: String,
}Expand description
A Hoare-style specification for a program.
Fields§
§pre: ConstructivePropPrecondition (must hold before execution).
post: ConstructivePropPostcondition (must hold after execution).
name: StringName of the specified program.
Trait Implementations§
Source§impl Clone for ProgramSpec
impl Clone for ProgramSpec
Source§fn clone(&self) -> ProgramSpec
fn clone(&self) -> ProgramSpec
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 ProgramSpec
impl Debug for ProgramSpec
Source§impl PartialEq for ProgramSpec
impl PartialEq for ProgramSpec
impl Eq for ProgramSpec
impl StructuralPartialEq for ProgramSpec
Auto Trait Implementations§
impl Freeze for ProgramSpec
impl RefUnwindSafe for ProgramSpec
impl Send for ProgramSpec
impl Sync for ProgramSpec
impl Unpin for ProgramSpec
impl UnsafeUnpin for ProgramSpec
impl UnwindSafe for ProgramSpec
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