pub struct NoPayload(/* private fields */);
Expand description
Empty data type for a state table entry with no payload.
Note: this type is only intended for use as the type parameter for
StateEntry
. The inner field is private and this type cannot be
constructed outside of this module.
Trait Implementations§
source§impl FixedSize for NoPayload
impl FixedSize for NoPayload
source§const RAW_BYTE_LEN: usize = 0usize
const RAW_BYTE_LEN: usize = 0usize
The raw size of this type, in bytes. Read more
impl AnyBitPattern for NoPayload
impl Copy for NoPayload
Auto Trait Implementations§
impl Freeze for NoPayload
impl RefUnwindSafe for NoPayload
impl Send for NoPayload
impl Sync for NoPayload
impl Unpin for NoPayload
impl UnwindSafe for NoPayload
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.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
)