pub struct StateEntry<T = NoPayload> {
pub new_state: u16,
pub flags: u16,
pub payload: T,
}
Expand description
Entry in an (extended) state table.
Fields§
§new_state: u16
Index of the next state.
flags: u16
Flag values are table specific.
payload: T
Payload is table specific.
Trait Implementations§
source§impl<T> FixedSize for StateEntry<T>where
T: FixedSize,
impl<T> FixedSize for StateEntry<T>where
T: FixedSize,
source§const RAW_BYTE_LEN: usize = _
const RAW_BYTE_LEN: usize = _
The raw size of this type, in bytes. Read more
Auto Trait Implementations§
impl<T> Freeze for StateEntry<T>where
T: Freeze,
impl<T> RefUnwindSafe for StateEntry<T>where
T: RefUnwindSafe,
impl<T> Send for StateEntry<T>where
T: Send,
impl<T> Sync for StateEntry<T>where
T: Sync,
impl<T> Unpin for StateEntry<T>where
T: Unpin,
impl<T> UnwindSafe for StateEntry<T>where
T: 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