1 2 3 4 5
/// Implemented by spaces that can count the number of objects. pub trait Count<T> { /// Counts the size of space given the dimensions. fn count(&self, dim: &T) -> usize; }
1 2 3 4 5
/// Implemented by spaces that can count the number of objects. pub trait Count<T> { /// Counts the size of space given the dimensions. fn count(&self, dim: &T) -> usize; }