[][src]Trait threshold::Count

pub trait Count: Copy {
    fn zero() -> Self;
fn add(&mut self, other: Self); }

Count trait to be used in MultiSet.

Required methods

fn zero() -> Self

Return a zero count.

fn add(&mut self, other: Self)

Add to the count.

Loading content...

Implementations on Foreign Types

impl Count for u64[src]

fn zero() -> Self[src]

Return a zero count.

fn add(&mut self, other: Self)[src]

Add to the count.

impl Count for (u64, u64)[src]

fn zero() -> Self[src]

Return a zero count.

fn add(&mut self, other: Self)[src]

Add to the count.

Loading content...

Implementors

Loading content...