Struct enumoid::EnumMap [−][src]
pub struct EnumMap<T: EnumArrayHelper<V>, V> { /* fields omitted */ }
Expand description
A total map from enumoid T
to values V
.
Implementations
Creates a new EnumMap<T, V>
with element values generated by f
.
Trait Implementations
impl<'de, T: EnumArrayHelper<V> + Deserialize<'de>, V: Deserialize<'de>> Deserialize<'de> for EnumMap<T, V>
impl<'de, T: EnumArrayHelper<V> + Deserialize<'de>, V: Deserialize<'de>> Deserialize<'de> for EnumMap<T, V>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T, V> RefUnwindSafe for EnumMap<T, V> where
<T as EnumArrayHelper<V>>::TotalArray: RefUnwindSafe,
impl<T, V> Send for EnumMap<T, V> where
<T as EnumArrayHelper<V>>::TotalArray: Send,
impl<T, V> Sync for EnumMap<T, V> where
<T as EnumArrayHelper<V>>::TotalArray: Sync,
impl<T, V> Unpin for EnumMap<T, V> where
<T as EnumArrayHelper<V>>::TotalArray: Unpin,
impl<T, V> UnwindSafe for EnumMap<T, V> where
<T as EnumArrayHelper<V>>::TotalArray: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more