Trait veloren_world::util::map_array::GenericIndex
source · pub trait GenericIndex<V: Clone, const N: usize> {
const VALUES: [V; N];
const LENGTH: usize = N;
// Required methods
fn from_usize(n: usize) -> Self;
fn into_usize(self) -> usize;
}
Required Associated Constants§
Provided Associated Constants§
Required Methods§
fn from_usize(n: usize) -> Self
fn into_usize(self) -> usize
Object Safety§
This trait is not object safe.