Struct ToleranceSpec
pub struct ToleranceSpec {
pub abs: Option<f64>,
pub rel: Option<f64>,
pub mode: ToleranceMode,
}Expand description
Tolerance bounds on the delivered value of a numeric field.
Fields§
§abs: Option<f64>§rel: Option<f64>§mode: ToleranceModeTrait Implementations§
§impl Clone for ToleranceSpec
impl Clone for ToleranceSpec
§fn clone(&self) -> ToleranceSpec
fn clone(&self) -> ToleranceSpec
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 more§impl Debug for ToleranceSpec
impl Debug for ToleranceSpec
§impl PartialEq for ToleranceSpec
impl PartialEq for ToleranceSpec
impl StructuralPartialEq for ToleranceSpec
Auto Trait Implementations§
impl Freeze for ToleranceSpec
impl RefUnwindSafe for ToleranceSpec
impl Send for ToleranceSpec
impl Sync for ToleranceSpec
impl Unpin for ToleranceSpec
impl UnsafeUnpin for ToleranceSpec
impl UnwindSafe for ToleranceSpec
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