pub struct CheckSettings {
pub does_print: bool,
pub does_panic: Option<PanicSettings>,
}Fields§
§does_print: boolPrint errors about violated clauses.
does_panic: Option<PanicSettings>Panic on a violated pre/postcondition or invariant.
Trait Implementations§
Source§impl Clone for CheckSettings
impl Clone for CheckSettings
Source§fn clone(&self) -> CheckSettings
fn clone(&self) -> CheckSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckSettings
impl RefUnwindSafe for CheckSettings
impl Send for CheckSettings
impl Sync for CheckSettings
impl Unpin for CheckSettings
impl UnsafeUnpin for CheckSettings
impl UnwindSafe for CheckSettings
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