pub type EnumValuesStorage<const N: usize> = EnumerationValuesStorage<EnumValue, N>;
Expand description
Storage of enum values.
Aliased Type§
struct EnumValuesStorage<const N: usize>([EnumValue; N]);
Fields§
§0: [EnumValue; N]
Implementations
Source§impl<E: EnumerationValue<E>, const S: usize> EnumerationValuesStorage<E, S>
impl<E: EnumerationValue<E>, const S: usize> EnumerationValuesStorage<E, S>
Trait Implementations
Source§impl<E: EnumerationValue<E>, const S: usize> AsRef<EnumerationValues<E>> for EnumerationValuesStorage<E, S>
impl<E: EnumerationValue<E>, const S: usize> AsRef<EnumerationValues<E>> for EnumerationValuesStorage<E, S>
Source§fn as_ref(&self) -> &EnumerationValues<E>
fn as_ref(&self) -> &EnumerationValues<E>
Converts this type into a shared reference of the (usually inferred) input type.