Struct collections::vec::DrainFilter
[−]
[src]
pub struct DrainFilter<'a, T, F> where
F: FnMut(&mut T) -> bool,
T: 'a, { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (drain_filter
#43244)
recently added
An iterator produced by calling drain_filter
on Vec.
Trait Implementations
impl<'a, T, F> Drop for DrainFilter<'a, T, F> where
F: FnMut(&mut T) -> bool,
[src]
F: FnMut(&mut T) -> bool,
fn drop(&mut self)
[src]
🔬 This is a nightly-only experimental API. (drain_filter
#43244)
recently added
impl<'a, T, F> Debug for DrainFilter<'a, T, F> where
F: Debug + FnMut(&mut T) -> bool,
T: 'a + Debug,
[src]
F: Debug + FnMut(&mut T) -> bool,
T: 'a + Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<'a, T, F> Iterator for DrainFilter<'a, T, F> where
F: FnMut(&mut T) -> bool,
[src]
F: FnMut(&mut T) -> bool,
type Item = T
🔬 This is a nightly-only experimental API. (drain_filter
#43244)
recently added
fn next(&mut self) -> Option<T>
[src]
🔬 This is a nightly-only experimental API. (drain_filter
#43244)
recently added
fn size_hint(&self) -> (usize, Option<usize>)
[src]
🔬 This is a nightly-only experimental API. (drain_filter
#43244)
recently added