pub struct ExtractIf<'a, K, F, A = Global>{ /* private fields */ }Expand description
A draining iterator over entries of a HashSet which don’t satisfy the predicate f.
This struct is created by the extract_if method on HashSet. See its
documentation for more.
Auto Trait Implementations§
impl<'a, K, F, A> Freeze for ExtractIf<'a, K, F, A>where
F: Freeze,
impl<'a, K, F, A> RefUnwindSafe for ExtractIf<'a, K, F, A>
impl<'a, K, F, A> Send for ExtractIf<'a, K, F, A>
impl<'a, K, F, A> Sync for ExtractIf<'a, K, F, A>
impl<'a, K, F, A> Unpin for ExtractIf<'a, K, F, A>where
F: Unpin,
impl<'a, K, F, A = Global> !UnwindSafe for ExtractIf<'a, K, F, A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<I> IntoIterator for Iwhere
I: Iterator,
impl<I> IntoIterator for Iwhere
I: Iterator,
Source§impl<I> IteratorExt for Iwhere
I: Iterator,
impl<I> IteratorExt for Iwhere
I: Iterator,
Source§fn try_collect<B>(self) -> Result<B, Error>
fn try_collect<B>(self) -> Result<B, Error>
Transforms an iterator into a collection using fallible allocations.
Source§fn try_collect_in<B, A>(self, alloc: A) -> Result<B, Error>
fn try_collect_in<B, A>(self, alloc: A) -> Result<B, Error>
Transforms an iterator into a collection using fallible allocations.
Source§fn try_join_in<J, S, A>(self, sep: S, alloc: A) -> Result<J, Error>
fn try_join_in<J, S, A>(self, sep: S, alloc: A) -> Result<J, Error>
Try to join the given value.
Source§impl<I> IteratorRandom for Iwhere
I: Iterator,
impl<I> IteratorRandom for Iwhere
I: Iterator,
Source§fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
Uniformly sample one element (stable) Read more