pub struct ScalarTolerance {
pub absolute: f64,
pub relative: f64,
}Expand description
Absolute and relative tolerances for one scalar quantity.
Fields§
§absolute: f64Fixed absolute error allowance.
relative: f64Fixed relative error allowance.
Trait Implementations§
Source§impl Clone for ScalarTolerance
impl Clone for ScalarTolerance
Source§fn clone(&self) -> ScalarTolerance
fn clone(&self) -> ScalarTolerance
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 moreimpl Copy for ScalarTolerance
Source§impl Debug for ScalarTolerance
impl Debug for ScalarTolerance
Source§impl PartialEq for ScalarTolerance
impl PartialEq for ScalarTolerance
impl StructuralPartialEq for ScalarTolerance
Auto Trait Implementations§
impl Freeze for ScalarTolerance
impl RefUnwindSafe for ScalarTolerance
impl Send for ScalarTolerance
impl Sync for ScalarTolerance
impl Unpin for ScalarTolerance
impl UnsafeUnpin for ScalarTolerance
impl UnwindSafe for ScalarTolerance
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