pub struct NState<K, V> { /* private fields */ }Expand description
[State] is an abstract object that allows a particular kind of state to be associated with some data.
Implementations§
Trait Implementations§
Source§impl<'de, K, V> Deserialize<'de> for NState<K, V>
impl<'de, K, V> Deserialize<'de> for NState<K, V>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<K: Ord, V: Ord> Ord for NState<K, V>
impl<K: Ord, V: Ord> Ord for NState<K, V>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<K: PartialOrd, V: PartialOrd> PartialOrd for NState<K, V>
impl<K: PartialOrd, V: PartialOrd> PartialOrd for NState<K, V>
impl<K: Copy, V: Copy> Copy for NState<K, V>
impl<K: Eq, V: Eq> Eq for NState<K, V>
impl<K, V> StructuralPartialEq for NState<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for NState<K, V>where
V: Freeze,
impl<K, V> RefUnwindSafe for NState<K, V>where
V: RefUnwindSafe,
K: RefUnwindSafe,
impl<K, V> Send for NState<K, V>
impl<K, V> Sync for NState<K, V>
impl<K, V> Unpin for NState<K, V>
impl<K, V> UnwindSafe for NState<K, V>where
V: UnwindSafe,
K: UnwindSafe,
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