pub struct NonSubnormalF64(/* private fields */);Expand description
An f64 guaranteed not to be subnormal.
Option<Self> is niche-optimized to the size of the primitive.
Implementations§
Source§impl NonSubnormalF64
impl NonSubnormalF64
Sourcepub unsafe fn new_unchecked(value: f64) -> Self
pub unsafe fn new_unchecked(value: f64) -> Self
Trait Implementations§
Source§impl Clone for NonSubnormalF64
impl Clone for NonSubnormalF64
impl Copy for NonSubnormalF64
Source§impl Debug for NonSubnormalF64
impl Debug for NonSubnormalF64
Source§impl<'de> Deserialize<'de> for NonSubnormalF64
Available on crate feature serde only.
impl<'de> Deserialize<'de> for NonSubnormalF64
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NonSubnormalF64
impl Display for NonSubnormalF64
Source§impl From<NonSubnormalF64> for f64
impl From<NonSubnormalF64> for f64
Source§fn from(value: NonSubnormalF64) -> Self
fn from(value: NonSubnormalF64) -> Self
Converts to this type from the input type.
Source§impl FromStr for NonSubnormalF64
impl FromStr for NonSubnormalF64
Source§impl LowerExp for NonSubnormalF64
impl LowerExp for NonSubnormalF64
Source§impl PartialEq for NonSubnormalF64
impl PartialEq for NonSubnormalF64
Source§impl PartialOrd for NonSubnormalF64
impl PartialOrd for NonSubnormalF64
Source§impl Serialize for NonSubnormalF64
Available on crate feature serde only.
impl Serialize for NonSubnormalF64
Available on crate feature
serde only.Source§impl TryFrom<f64> for NonSubnormalF64
impl TryFrom<f64> for NonSubnormalF64
Auto Trait Implementations§
impl Forget for NonSubnormalF64
impl Freeze for NonSubnormalF64
impl Move for NonSubnormalF64
impl RefUnwindSafe for NonSubnormalF64
impl Send for NonSubnormalF64
impl Sync for NonSubnormalF64
impl Unpin for NonSubnormalF64
impl UnsafeUnpin for NonSubnormalF64where
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for NonSubnormalF64
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