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
fn new_index_allowed(v: NonZeroUsize) -> bool
fn new_index_allowed(v: NonZeroUsize) -> bool
Whether the specified value is allowed to be used to make an index out of thin air.