pub enum NumericDomain {
Real,
NonNegative,
SaturatingUnit,
StrictlyPositive,
Unknown,
}Expand description
Float range of an op’s result after rounding — not the mathematical range.
Variants§
Real
NonNegative
SaturatingUnit
Mathematically open; attains 0.0 and 1.0 exactly after f32 rounding.
StrictlyPositive
Provably strictly inside its bounds (e.g. after an epsilon-guard affine).
Unknown
Trait Implementations§
Source§impl Clone for NumericDomain
impl Clone for NumericDomain
Source§fn clone(&self) -> NumericDomain
fn clone(&self) -> NumericDomain
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 NumericDomain
Source§impl Debug for NumericDomain
impl Debug for NumericDomain
impl Eq for NumericDomain
Source§impl PartialEq for NumericDomain
impl PartialEq for NumericDomain
Source§impl Serialize for NumericDomain
impl Serialize for NumericDomain
impl StructuralPartialEq for NumericDomain
Auto Trait Implementations§
impl Freeze for NumericDomain
impl RefUnwindSafe for NumericDomain
impl Send for NumericDomain
impl Sync for NumericDomain
impl Unpin for NumericDomain
impl UnsafeUnpin for NumericDomain
impl UnwindSafe for NumericDomain
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