[][src]Trait sorting::SleepsortItem

pub trait SleepsortItem: PartialOrd + Send + 'static {
    fn key(&self) -> Duration;
}

Marks a trait that can be sleepsorted.

Required methods

fn key(&self) -> Duration

Determine how long the thread should sleep for this particular value.

Loading content...

Implementations on Foreign Types

impl SleepsortItem for u8[src]

impl SleepsortItem for u16[src]

impl SleepsortItem for u32[src]

impl SleepsortItem for u64[src]

impl SleepsortItem for i8[src]

impl SleepsortItem for i16[src]

impl SleepsortItem for i32[src]

impl SleepsortItem for i64[src]

Loading content...

Implementors

Loading content...