pub struct NonInfF64(/* private fields */);Expand description
An f64 guaranteed not to be infinite.
Option<Self> is niche-optimized to the size of the primitive.
Implementations§
Trait Implementations§
impl Copy for NonInfF64
Source§impl<'de> Deserialize<'de> for NonInfF64
Available on crate feature serde only.
impl<'de> Deserialize<'de> for NonInfF64
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 PartialOrd for NonInfF64
impl PartialOrd for NonInfF64
Auto Trait Implementations§
impl Forget for NonInfF64
impl Freeze for NonInfF64
impl Move for NonInfF64
impl RefUnwindSafe for NonInfF64
impl Send for NonInfF64
impl Sync for NonInfF64
impl Unpin for NonInfF64
impl UnsafeUnpin for NonInfF64where
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for NonInfF64
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