Trait Count
threshold
pub trait Count: Copy { fn zero() -> Self; fn add(&mut self, other: Self); }
Count trait to be used in MultiSet.
MultiSet
fn zero() -> Self
Return a zero count.
fn add(&mut self, other: Self)
Add to the count.
impl Count for u64
impl Count for (u64, u64)