pub trait Tabulate: Sized {
    fn counter() -> &'static AtomicUsize;

    fn instances() -> usize
    where
        Self: 'static
, { ... } }
Expand description

Track the population of Self.

Required methods

Provided methods

Produces the number of extant instances of Self.

Implementors