pub struct F64(pub f64);
Tuple Fields§
§0: f64
Implementations§
source§impl F64
impl F64
pub fn abs(&self) -> Self
pub fn neg(&self) -> Self
pub fn ceil(&self) -> Self
pub fn floor(&self) -> Self
pub fn trunc(&self) -> Self
pub fn nearest(&self) -> Self
pub fn round(&self) -> Self
pub fn sqrt(&self) -> Self
pub fn min(&self, rhs: Self) -> Self
pub fn max(&self, rhs: Self) -> Self
pub fn copysign(&self, rhs: Self) -> Self
pub fn from_bits(other: u64) -> Self
pub fn is_nan(&self) -> bool
pub fn is_infinity(&self) -> bool
pub fn is_negative_infinity(&self) -> bool
pub fn as_i32(&self) -> i32
pub fn as_u32(&self) -> u32
pub fn as_i64(&self) -> i64
pub fn as_u64(&self) -> u64
pub fn as_f32(&self) -> F32
pub fn reinterpret_as_i64(&self) -> i64
pub fn to_bits(&self) -> u64
Trait Implementations§
source§impl InteropValue for F64
impl InteropValue for F64
source§impl PartialOrd for F64
impl PartialOrd 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)