[][src]Enum sorting::SleepsortSpeed

pub enum SleepsortSpeed {
    Default,
    Faster(u32),
    Slower(u32),
}

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

impl Clone for SleepsortSpeed[src]

impl Copy for SleepsortSpeed[src]

impl Debug for SleepsortSpeed[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]