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