pub struct StateId<K: Kind> {
pub kind: K,
pub uuid: Uuid,
}Expand description
Implements node::Node Id generics by holding a Kind field
and a Uuid to be used as a distinguishing identifier
Fields§
§kind: K§uuid: UuidImplementations§
Trait Implementations§
impl<K: Copy + Kind> Copy for StateId<K>
impl<K: Eq + Kind> Eq for StateId<K>
impl<K: Kind> StructuralPartialEq for StateId<K>
Auto Trait Implementations§
impl<K> Freeze for StateId<K>where
K: Freeze,
impl<K> RefUnwindSafe for StateId<K>where
K: RefUnwindSafe,
impl<K> Send for StateId<K>
impl<K> Sync for StateId<K>where
K: Sync,
impl<K> Unpin for StateId<K>where
K: Unpin,
impl<K> UnwindSafe for StateId<K>where
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)