pub struct Filter<G, W, P> { /* private fields */ }
Expand description
A walker that applies some given predicate to each element returned by its walker.
The only index pairs that will be yielded are those that make the predicate evaluate to true.
Implementations
Trait Implementations
Auto Trait Implementations
impl<G, W, P> RefUnwindSafe for Filter<G, W, P> where
G: RefUnwindSafe,
P: RefUnwindSafe,
W: RefUnwindSafe,
impl<G, W, P> Send for Filter<G, W, P> where
G: Send,
P: Send,
W: Send,
impl<G, W, P> Sync for Filter<G, W, P> where
G: Sync,
P: Sync,
W: Sync,
impl<G, W, P> Unpin for Filter<G, W, P> where
G: Unpin,
P: Unpin,
W: Unpin,
impl<G, W, P> UnwindSafe for Filter<G, W, P> where
G: UnwindSafe,
P: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more