[−][src]Struct rdx::TrySortWith
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]
fn clone(&self) -> TrySortWith<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
S: FnMut(&mut [K], isize, usize, bool) -> bool,
Auto Trait Implementations
impl<S> RefUnwindSafe for TrySortWith<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for TrySortWith<S> where
S: Send,
S: Send,
impl<S> Sync for TrySortWith<S> where
S: Sync,
S: Sync,
impl<S> Unpin for TrySortWith<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for TrySortWith<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,