Struct refined_float::Float64
source · pub struct Float64(pub f64);
Tuple Fields§
§0: f64
Implementations§
Trait Implementations§
source§impl AddAssign for Float64
impl AddAssign for Float64
source§fn add_assign(&mut self, rhs: Float64)
fn add_assign(&mut self, rhs: Float64)
Performs the
+=
operation. Read moresource§impl DivAssign for Float64
impl DivAssign for Float64
source§fn div_assign(&mut self, rhs: Float64)
fn div_assign(&mut self, rhs: Float64)
Performs the
/=
operation. Read moresource§impl MulAssign for Float64
impl MulAssign for Float64
source§fn mul_assign(&mut self, rhs: Float64)
fn mul_assign(&mut self, rhs: Float64)
Performs the
*=
operation. Read moresource§impl PartialEq for Float64
impl PartialEq for Float64
source§impl PartialOrd for Float64
impl PartialOrd for Float64
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 RemAssign for Float64
impl RemAssign for Float64
source§fn rem_assign(&mut self, rhs: Float64)
fn rem_assign(&mut self, rhs: Float64)
Performs the
%=
operation. Read moresource§impl SubAssign for Float64
impl SubAssign for Float64
source§fn sub_assign(&mut self, rhs: Float64)
fn sub_assign(&mut self, rhs: Float64)
Performs the
-=
operation. Read moreimpl Copy for Float64
impl StructuralPartialEq for Float64
Auto Trait Implementations§
impl RefUnwindSafe for Float64
impl Send for Float64
impl Sync for Float64
impl Unpin for Float64
impl UnwindSafe for Float64
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