Struct divan::counter::ItemsCount
source · pub struct ItemsCount { /* private fields */ }
Expand description
Process N items.
Implementations§
source§impl ItemsCount
impl ItemsCount
sourcepub fn of_iter<T, I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
pub fn of_iter<T, I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
Counts Iterator::Item
s.
Trait Implementations§
source§impl Clone for ItemsCount
impl Clone for ItemsCount
source§fn clone(&self) -> ItemsCount
fn clone(&self) -> ItemsCount
Returns a copy 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 moresource§impl Debug for ItemsCount
impl Debug for ItemsCount
source§impl Ord for ItemsCount
impl Ord for ItemsCount
source§fn cmp(&self, other: &ItemsCount) -> Ordering
fn cmp(&self, other: &ItemsCount) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ItemsCount
impl PartialEq for ItemsCount
source§fn eq(&self, other: &ItemsCount) -> bool
fn eq(&self, other: &ItemsCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ItemsCount
impl PartialOrd for ItemsCount
source§fn partial_cmp(&self, other: &ItemsCount) -> Option<Ordering>
fn partial_cmp(&self, other: &ItemsCount) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ItemsCount
impl Counter for ItemsCount
impl Eq for ItemsCount
impl StructuralEq for ItemsCount
impl StructuralPartialEq for ItemsCount
Auto Trait Implementations§
impl RefUnwindSafe for ItemsCount
impl Send for ItemsCount
impl Sync for ItemsCount
impl Unpin for ItemsCount
impl UnwindSafe for ItemsCount
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<C> IntoCounter for Cwhere
C: Counter,
impl<C> IntoCounter for Cwhere
C: Counter,
source§fn into_counter(self) -> <C as IntoCounter>::Counter
fn into_counter(self) -> <C as IntoCounter>::Counter
Converts into a
Counter
.