pub struct PrecisionOptions {
pub precision: Precision,
pub tolerance: f64,
pub every: usize,
}Expand description
How a batch of points runs in reduced precision (see checked).
Fields§
§precision: PrecisionPrecision the points run in; with Precision::Double, nothing is checked.
tolerance: f64Largest difference accepted between a point in precision and its double-precision value.
every: usizeOne point in every (at least one) is recomputed in double precision.
Implementations§
Trait Implementations§
Source§impl Clone for PrecisionOptions
impl Clone for PrecisionOptions
Source§fn clone(&self) -> PrecisionOptions
fn clone(&self) -> PrecisionOptions
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 PrecisionOptions
Source§impl Debug for PrecisionOptions
impl Debug for PrecisionOptions
Source§impl Default for PrecisionOptions
impl Default for PrecisionOptions
Source§impl PartialEq for PrecisionOptions
impl PartialEq for PrecisionOptions
Source§fn eq(&self, other: &PrecisionOptions) -> bool
fn eq(&self, other: &PrecisionOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrecisionOptions
Auto Trait Implementations§
impl Freeze for PrecisionOptions
impl RefUnwindSafe for PrecisionOptions
impl Send for PrecisionOptions
impl Sync for PrecisionOptions
impl Unpin for PrecisionOptions
impl UnsafeUnpin for PrecisionOptions
impl UnwindSafe for PrecisionOptions
Blanket Implementations§
impl<T> Boilerplate for T
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,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more