pub struct TakeWhile<G, W, P> { /* private fields */ }
Expand description
A walker that yields elements so long as the predicate returns true.
After the predicate returns false for the first time, no further elements will be yielded.
Implementations
Trait Implementations
Auto Trait Implementations
impl<G, W, P> RefUnwindSafe for TakeWhile<G, W, P> where
G: RefUnwindSafe,
P: RefUnwindSafe,
W: RefUnwindSafe,
impl<G, W, P> Send for TakeWhile<G, W, P> where
G: Send,
P: Send,
W: Send,
impl<G, W, P> Sync for TakeWhile<G, W, P> where
G: Sync,
P: Sync,
W: Sync,
impl<G, W, P> Unpin for TakeWhile<G, W, P> where
G: Unpin,
P: Unpin,
W: Unpin,
impl<G, W, P> UnwindSafe for TakeWhile<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