pub trait RetainMutUnordered<T> {
    fn truncate(&mut self, val: usize);
fn as_slice_mut(&mut self) -> &mut [T]; fn retain_mut_unordered<F>(&mut self, f: F)
    where
        F: FnMut(&mut T) -> bool
, { ... } }
Expand description

Retain only elements that satisfy the predicate. May rearrange elements in the process.

Required methods

Provided methods

Implementations on Foreign Types

Implementors