Struct arithmetic_eval::env::Assertions
source · pub struct Assertions;
Expand description
Container for assertion functions: assert
, assert_eq
and assert_fails
.
Implementations§
Trait Implementations§
source§impl Clone for Assertions
impl Clone for Assertions
source§fn clone(&self) -> Assertions
fn clone(&self) -> Assertions
Returns a copy 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 Assertions
impl Debug for Assertions
source§impl Default for Assertions
impl Default for Assertions
source§fn default() -> Assertions
fn default() -> Assertions
Returns the “default value” for a type. Read more
impl Copy for Assertions
Auto Trait Implementations§
impl RefUnwindSafe for Assertions
impl Send for Assertions
impl Sync for Assertions
impl Unpin for Assertions
impl UnwindSafe for Assertions
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