pub struct SumAndCount<Item> { /* private fields */ }Implementations§
Source§impl<'a, Item> SumAndCount<Item>
impl<'a, Item> SumAndCount<Item>
pub fn new() -> SumAndCount<Item>
pub fn execute( &self, source: Observable<'a, Item>, ) -> Observable<'a, (Item, usize)>
Trait Implementations§
Source§impl<Item: Clone> Clone for SumAndCount<Item>
impl<Item: Clone> Clone for SumAndCount<Item>
Source§fn clone(&self) -> SumAndCount<Item>
fn clone(&self) -> SumAndCount<Item>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Item> Freeze for SumAndCount<Item>
impl<Item> RefUnwindSafe for SumAndCount<Item>where
Item: RefUnwindSafe,
impl<Item> Send for SumAndCount<Item>where
Item: Send,
impl<Item> Sync for SumAndCount<Item>where
Item: Sync,
impl<Item> Unpin for SumAndCount<Item>where
Item: Unpin,
impl<Item> UnwindSafe for SumAndCount<Item>where
Item: 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