Trait Count

Source
pub trait Count:
    Copy
    + Zero
    + One
    + Into<usize>
    + Add<Self, Output = Self> { }
Available on crate feature bucket-array only.
Expand description

Types that can be used as a count of items in a bucket

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Copy + Zero + One + Into<usize> + Add<Self, Output = Self>> Count for T