pub struct MachineLimits {
pub epsilon: Option<f64>,
pub minimum: Option<f64>,
pub maximum: Option<f64>,
pub minimum_positive: Option<f64>,
}Expand description
Machine limits exposed by a scalar number domain.
Fields§
§epsilon: Option<f64>Distance from one to the next representable value, when bounded.
minimum: Option<f64>Smallest finite value representable by the domain.
maximum: Option<f64>Largest finite value representable by the domain.
minimum_positive: Option<f64>Smallest positive normal value for floating domains.
Trait Implementations§
Source§impl Clone for MachineLimits
impl Clone for MachineLimits
Source§fn clone(&self) -> MachineLimits
fn clone(&self) -> MachineLimits
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 MachineLimits
Source§impl Debug for MachineLimits
impl Debug for MachineLimits
Source§impl PartialEq for MachineLimits
impl PartialEq for MachineLimits
impl StructuralPartialEq for MachineLimits
Auto Trait Implementations§
impl Freeze for MachineLimits
impl RefUnwindSafe for MachineLimits
impl Send for MachineLimits
impl Sync for MachineLimits
impl Unpin for MachineLimits
impl UnsafeUnpin for MachineLimits
impl UnwindSafe for MachineLimits
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