pub enum AssertBody {
Expr(Expr),
Tolerance {
actual: Box<Expr>,
expected: Box<Expr>,
tolerance: Box<Expr>,
is_relative: bool,
},
}Expand description
A lowered assertion body.
Variants§
Trait Implementations§
Source§impl Clone for AssertBody
impl Clone for AssertBody
Source§fn clone(&self) -> AssertBody
fn clone(&self) -> AssertBody
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 AssertBody
impl RefUnwindSafe for AssertBody
impl Send for AssertBody
impl Sync for AssertBody
impl Unpin for AssertBody
impl UnsafeUnpin for AssertBody
impl UnwindSafe for AssertBody
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