#[repr(transparent)]pub struct F64(pub f64);
Expand description
Floating point number like f64
, but with ShlAssign<u32>
and
ShrAssign<u32>
.
Tuple Fields§
§0: f64
Trait 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
cbindgen:ignore
impl IsFloatingPoint for F64
cbindgen:ignore
Source§const FLOATING_POINT: bool = true
const FLOATING_POINT: bool = true
true
iff the underlying type is a floating point numberSource§const MIN_EXP: i32 = -1_021i32
const MIN_EXP: i32 = -1_021i32
One greater than the minimum possible normal power of 2 exponent, see
f64::MIN_EXP
for instance. 0
for integersSource§impl PartialOrd for F64
impl PartialOrd for F64
Source§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