Struct oxidd_core::util::num::F64
source · pub struct F64(pub f64);Expand description
Floating point number like f64, but with ShlAssign<u32> and
ShrAssign<u32>.
Tuple Fields§
§0: f64Trait Implementations§
source§impl<'a> AddAssign<&'a F64> for F64
impl<'a> AddAssign<&'a F64> for F64
source§fn add_assign(&mut self, rhs: &'a Self)
fn add_assign(&mut self, rhs: &'a Self)
Performs the
+= operation. Read moresource§impl IsFloatingPoint for F64
impl IsFloatingPoint for F64
source§const FLOATING_POINT: bool = true
const FLOATING_POINT: bool = true
true iff the underlying type is a floating point numbersource§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 moresource§impl ShlAssign<u32> for F64
impl ShlAssign<u32> for F64
source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
Performs the
<<= operation. Read moresource§impl ShrAssign<u32> for F64
impl ShrAssign<u32> for F64
source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
Performs the
>>= operation. Read moresource§impl<'a> SubAssign<&'a F64> for F64
impl<'a> SubAssign<&'a F64> for F64
source§fn sub_assign(&mut self, rhs: &'a Self)
fn sub_assign(&mut self, rhs: &'a Self)
Performs the
-= operation. Read moreimpl Copy for F64
impl StructuralPartialEq 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