pub struct ArithObs {
pub same: bool,
pub differs: bool,
pub opaque: bool,
pub same2: bool,
pub differs2: bool,
}Expand description
What the tests observed at an arithmetic operator on primitive numbers.
Fields§
§same: boolThe swapped operator gave the same result.
differs: boolThe swapped operator gave a different result.
opaque: boolThe operands were not primitive numbers: nothing can be said.
same2: boolThe same for the operator’s second replacement, where it has one.
differs2: boolImplementations§
Trait Implementations§
impl Copy for ArithObs
impl Eq for ArithObs
impl StructuralPartialEq for ArithObs
Auto Trait Implementations§
impl Forget for ArithObs
impl Freeze for ArithObs
impl Move for ArithObs
impl RefUnwindSafe for ArithObs
impl Send for ArithObs
impl Sync for ArithObs
impl Unpin for ArithObs
impl UnsafeUnpin for ArithObs
impl UnwindSafe for ArithObs
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.