Trait hash_trie::traits::MaxOnes[][src]

pub trait MaxOnes {
    fn max_ones() -> usize;
}
Expand description

MaxOnes provides a count of the number of bits that can be stored for a given type

Required methods

Get the maximum number of bits that can be set to 1.

e.g. u32::max_ones() == 32

Implementations on Foreign Types

Implementors