#[repr(C, align(64))]pub struct PooledEvent<const TSHIRT_SIZE: usize> {
pub len: u32,
pub event_type: u32,
pub data: [u8; TSHIRT_SIZE],
}Fields§
§len: u32§event_type: u32§data: [u8; TSHIRT_SIZE]Trait Implementations§
Source§impl<const TSHIRT_SIZE: usize> Clone for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Clone for PooledEvent<TSHIRT_SIZE>
Source§fn clone(&self) -> PooledEvent<TSHIRT_SIZE>
fn clone(&self) -> PooledEvent<TSHIRT_SIZE>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const TSHIRT_SIZE: usize> Debug for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Debug for PooledEvent<TSHIRT_SIZE>
Source§impl<const TSHIRT_SIZE: usize> Zeroable for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Zeroable for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Copy for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Pod for PooledEvent<TSHIRT_SIZE>
Auto Trait Implementations§
impl<const TSHIRT_SIZE: usize> Freeze for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> RefUnwindSafe for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Send for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Sync for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> Unpin for PooledEvent<TSHIRT_SIZE>
impl<const TSHIRT_SIZE: usize> UnwindSafe for PooledEvent<TSHIRT_SIZE>
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.