[][src]Struct rdx::TrySortWith

pub struct TrySortWith<S>(pub S);

Treat a function as a try sort function. Assumes that: true is returned if and only if the input array is sorted The input array can be permuted arbitrarily, but no elements may be changed If force is true, then the input array must always be sorted

Trait Implementations

impl<S: Clone> Clone for TrySortWith<S>[src]

impl<S: Copy> Copy for TrySortWith<S>[src]

impl<S: Debug> Debug for TrySortWith<S>[src]

impl<S, K> TrySorter<K> for TrySortWith<S> where
    S: FnMut(&mut [K], isize, usize, bool) -> bool
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for TrySortWith<S> where
    S: RefUnwindSafe

impl<S> Send for TrySortWith<S> where
    S: Send

impl<S> Sync for TrySortWith<S> where
    S: Sync

impl<S> Unpin for TrySortWith<S> where
    S: Unpin

impl<S> UnwindSafe for TrySortWith<S> where
    S: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.