Trait hash_arr_map::NewIndex[][src]

pub unsafe trait NewIndex: FromIndex + IntoIndex {
    fn new_index_allowed(v: NonZeroUsize) -> bool;
}
Expand description

Whether a new index can be created out of thin air for the value.

Required methods

Whether the specified value is allowed to be used to make an index out of thin air.

Implementations on Foreign Types

Implementors