pub struct HalfFloor;Expand description
To the nearest, ties toward negative infinity.
Trait Implementations§
impl Copy for HalfFloor
impl Eq for HalfFloor
Source§impl Ord for HalfFloor
impl Ord for HalfFloor
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for HalfFloor
impl PartialOrd for HalfFloor
impl RoundingMode for HalfFloor
impl StructuralPartialEq for HalfFloor
Auto Trait Implementations§
impl Freeze for HalfFloor
impl RefUnwindSafe for HalfFloor
impl Send for HalfFloor
impl Sync for HalfFloor
impl Unpin for HalfFloor
impl UnsafeUnpin for HalfFloor
impl UnwindSafe for HalfFloor
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