pub struct FloatDist;
Expand description
Implements DistFn
for floating-point numbers.
Returns (left - right).abs().round() as u64
.
Trait Implementations§
impl Copy for FloatDist
Auto Trait Implementations§
impl Freeze for FloatDist
impl RefUnwindSafe for FloatDist
impl Send for FloatDist
impl Sync for FloatDist
impl Unpin for FloatDist
impl UnwindSafe for FloatDist
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