pub struct TwoPMap<K, V> { /* private fields */ }Expand description
Two phase map. Invariant: All keys must be unique.
Implementations§
Trait Implementations§
Source§impl<'d, K: Clone + Ord + Deserialize<'d>, V: Clone + Deserialize<'d>> Deserialize<'d> for TwoPMap<K, V>
impl<'d, K: Clone + Ord + Deserialize<'d>, V: Clone + Deserialize<'d>> Deserialize<'d> for TwoPMap<K, V>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'d>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'d>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<K, V> Freeze for TwoPMap<K, V>
impl<K, V> RefUnwindSafe for TwoPMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for TwoPMap<K, V>
impl<K, V> Sync for TwoPMap<K, V>
impl<K, V> Unpin for TwoPMap<K, V>
impl<K, V> UnsafeUnpin for TwoPMap<K, V>
impl<K, V> UnwindSafe for TwoPMap<K, V>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more