pub struct StateBase<Q, K> { /* private fields */ }
Expand description
StateBase
is an abstract object that allows a particular kind of state to be
associated with some generic state Q
Implementations§
Source§impl<K, Q> StateBase<Q, K>where
K: RawStateKind,
impl<K, Q> StateBase<Q, K>where
K: RawStateKind,
Trait Implementations§
Source§impl<'de, Q, K> Deserialize<'de> for StateBase<Q, K>
impl<'de, Q, K> Deserialize<'de> for StateBase<Q, K>
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<Q: Ord, K: Ord> Ord for StateBase<Q, K>
impl<Q: Ord, K: Ord> Ord for StateBase<Q, K>
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<Q: PartialOrd, K: PartialOrd> PartialOrd for StateBase<Q, K>
impl<Q: PartialOrd, K: PartialOrd> PartialOrd for StateBase<Q, K>
impl<Q: Copy, K: Copy> Copy for StateBase<Q, K>
impl<Q: Eq, K: Eq> Eq for StateBase<Q, K>
impl<Q, K> StructuralPartialEq for StateBase<Q, K>
Auto Trait Implementations§
impl<Q, K> Freeze for StateBase<Q, K>where
Q: Freeze,
impl<Q, K> RefUnwindSafe for StateBase<Q, K>where
Q: RefUnwindSafe,
K: RefUnwindSafe,
impl<Q, K> Send for StateBase<Q, K>
impl<Q, K> Sync for StateBase<Q, K>
impl<Q, K> Unpin for StateBase<Q, K>
impl<Q, K> UnwindSafe for StateBase<Q, K>where
Q: 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