pub struct FilterQuadSource<S, P>(/* private fields */);Expand description
The result type of QuadSource::filter_quads.
Trait Implementations§
Source§impl<S, P> Source for FilterQuadSource<S, P>
impl<S, P> Source for FilterQuadSource<S, P>
Source§fn try_for_some_item<E, F>(
&mut self,
f: F,
) -> StreamResult<bool, Self::Error, E>
fn try_for_some_item<E, F>( &mut self, f: F, ) -> StreamResult<bool, Self::Error, E>
Call f for some item(s) (possibly zero) from this source, if any. Read more
Source§fn size_hint_items(&self) -> (usize, Option<usize>)
fn size_hint_items(&self) -> (usize, Option<usize>)
Returns the bounds on the remaining length of the source. Read more
Source§fn try_for_each_item<F, E>(&mut self, f: F) -> StreamResult<(), Self::Error, E>
fn try_for_each_item<F, E>(&mut self, f: F) -> StreamResult<(), Self::Error, E>
Call f for all items from this source. Read more
Source§fn for_some_item<F>(&mut self, f: F) -> Result<bool, Self::Error>
fn for_some_item<F>(&mut self, f: F) -> Result<bool, Self::Error>
Call f for some item(s) (possibly zero) from this source, if any. Read more
Source§fn for_each_item<F>(&mut self, f: F) -> Result<(), Self::Error>
fn for_each_item<F>(&mut self, f: F) -> Result<(), Self::Error>
Call f for all items from this source. Read more
Source§fn filter_items<F>(self, predicate: F) -> FilterSource<Self, F>
fn filter_items<F>(self, predicate: F) -> FilterSource<Self, F>
Returns a source which uses
predicate to determine if an item should be yielded.Source§fn filter_map_items<F, T>(self, filter_map: F) -> FilterMapSource<Self, F>
fn filter_map_items<F, T>(self, filter_map: F) -> FilterMapSource<Self, F>
Returns a source that both filters and maps. Read more
Auto Trait Implementations§
impl<S, P> Freeze for FilterQuadSource<S, P>
impl<S, P> RefUnwindSafe for FilterQuadSource<S, P>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<S, P> Send for FilterQuadSource<S, P>
impl<S, P> Sync for FilterQuadSource<S, P>
impl<S, P> Unpin for FilterQuadSource<S, P>
impl<S, P> UnsafeUnpin for FilterQuadSource<S, P>where
S: UnsafeUnpin,
P: UnsafeUnpin,
impl<S, P> UnwindSafe for FilterQuadSource<S, P>where
S: UnwindSafe,
P: UnwindSafe,
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