pub struct InputNonEmpty;Expand description
Contract for Input mechanism: Returns non-empty input.
Trait Implementations§
Source§impl Clone for InputNonEmpty
impl Clone for InputNonEmpty
Source§fn clone(&self) -> InputNonEmpty
fn clone(&self) -> InputNonEmpty
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 Contract for InputNonEmpty
impl Contract for InputNonEmpty
Source§impl Debug for InputNonEmpty
impl Debug for InputNonEmpty
impl Copy for InputNonEmpty
Auto Trait Implementations§
impl Freeze for InputNonEmpty
impl RefUnwindSafe for InputNonEmpty
impl Send for InputNonEmpty
impl Sync for InputNonEmpty
impl Unpin for InputNonEmpty
impl UnsafeUnpin for InputNonEmpty
impl UnwindSafe for InputNonEmpty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, I, O> DynContract<I, O> for T
impl<T, I, O> DynContract<I, O> for T
Source§fn check_requires(&self, input: &I) -> bool
fn check_requires(&self, input: &I) -> bool
Check precondition.
Source§fn check_invariant(&self) -> bool
fn check_invariant(&self) -> bool
Check invariant.