[][src]Trait countable::Countable

pub trait Countable: Sized {
    type Counter: Iterator<Item = Self>;
    fn count() -> Self::Counter;
}

Associated Types

Required Methods

Implementations on Foreign Types

impl Countable for Void
[src]

impl<A: Countable> Countable for Option<A>
[src]

impl<A: Countable, B: Countable> Countable for Either<A, B>
[src]

Implementors

impl Countable for ()
[src]

impl<A: Clone + Countable, B: Countable> Countable for (A, B) where
    B::Counter: Clone
[src]