[][src]Trait cl_traits::Retain

pub trait Retain {
    type Fn;
    type Output;
    fn retain(&mut self, input: Self::Fn) -> Self::Output;
}

See retain for more information.

Associated Types

type Fn

Function

type Output

Output

Loading content...

Required methods

fn retain(&mut self, input: Self::Fn) -> Self::Output

Retains only the elements specified by the F predicate.

Loading content...

Implementors

Loading content...