pub struct F64(/* private fields */);Implementations§
Source§impl F64
impl F64
pub fn from_bits(other: u64) -> Self
pub fn to_bits(self) -> u64
pub fn from_float(fl: f64) -> Self
pub fn to_float(self) -> f64
pub fn is_nan(self) -> bool
pub fn abs(self) -> Self
pub fn fract(self) -> Self
pub fn min(self, other: Self) -> Self
pub fn max(self, other: Self) -> Self
Trait Implementations§
Source§impl<T: Into<F64> + Copy> PartialOrd<T> for F64
impl<T: Into<F64> + Copy> PartialOrd<T> for F64
impl Copy for F64
Auto Trait Implementations§
impl Freeze for F64
impl RefUnwindSafe for F64
impl Send for F64
impl Sync for F64
impl Unpin for F64
impl UnwindSafe for F64
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