Trait util::SliceExt[][src]

pub trait SliceExt: SliceExtSealed {
    type Inner;
    fn is_sorted_by<F: FnMut(&Self::Inner, &Self::Inner) -> Ordering>(
        &self,
        f: F
    ) -> bool;
fn try_split_at(&self, k: usize) -> Option<(&Self, &Self)>;
fn try_split_at_mut(&mut self, k: usize) -> Option<(&mut Self, &mut Self)>;
unsafe fn split_at_unchecked(&self, k: usize) -> (&Self, &Self);
unsafe fn split_at_unchecked_mut(
        &mut self,
        k: usize
    ) -> (&mut Self, &mut Self); fn is_sorted(&self) -> bool
    where
        Self::Inner: Ord
, { ... }
fn is_sorted_by_key<F: FnMut(&Self::Inner) -> K, K: Ord>(
        &self,
        f: F
    ) -> bool { ... } }

Associated Types

Required Methods

Provided Methods

Implementors