pub enum SleepsortSpeed {
Default,
Faster(u32),
Slower(u32),
}
Expand description
Adjusts how long sleepsort
threads sleep.
Variants§
Default
Do not change sleep duration.
Faster(u32)
Shorten sleep duration by dividing it by the given value. Too short durations will cause incorrect results.
Slower(u32)
Lengthen sleep duration by multiplying it with the given value. Use this if incorrect results are produced.
Trait Implementations§
Source§impl Clone for SleepsortSpeed
impl Clone for SleepsortSpeed
Source§fn clone(&self) -> SleepsortSpeed
fn clone(&self) -> SleepsortSpeed
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SleepsortSpeed
impl Debug for SleepsortSpeed
impl Copy for SleepsortSpeed
Auto Trait Implementations§
impl Freeze for SleepsortSpeed
impl RefUnwindSafe for SleepsortSpeed
impl Send for SleepsortSpeed
impl Sync for SleepsortSpeed
impl Unpin for SleepsortSpeed
impl UnwindSafe for SleepsortSpeed
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