pub struct DataSpec {
pub maintains: Vec<PreCondition>,
/* private fields */
}Expand description
Specifies the intended behavior of a data type: struct or enum.
Fields§
§maintains: Vec<PreCondition>Invariants: conditions that must hold for all instances of the data type.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataSpec
impl RefUnwindSafe for DataSpec
impl !Send for DataSpec
impl !Sync for DataSpec
impl Unpin for DataSpec
impl UnsafeUnpin for DataSpec
impl UnwindSafe for DataSpec
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