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
.