Skip to main content

VecExt

Trait VecExt 

Source
pub trait VecExt<T>: Sealed {
    // Required method
    fn remove_if<F>(&mut self, f: F)
       where F: FnMut(&mut T) -> bool;
}
Available on crate feature alloc only.

Required Methods§

Source

fn remove_if<F>(&mut self, f: F)
where F: FnMut(&mut T) -> bool,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> VecExt<T> for Vec<T>

Source§

fn remove_if<F>(&mut self, f: F)
where F: FnMut(&mut T) -> bool,

Implementors§