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 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
Trait Implementations§
source§impl InteropValue for F64
impl InteropValue for F64
source§impl PartialEq for F64
impl PartialEq for F64
source§impl PartialOrd for F64
impl PartialOrd for F64
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for F64
Auto Trait Implementations§
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