#[repr(C)]pub struct pt_packet_ptw {
pub payload: u64,
pub plc: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u16; 3],
}Expand description
A PTW packet.
Fields§
§payload: u64The raw payload.
plc: u8The payload size as encoded in the packet.
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_padding_0: [u16; 3]Implementations§
Trait Implementations§
Source§impl Clone for pt_packet_ptw
impl Clone for pt_packet_ptw
Source§fn clone(&self) -> pt_packet_ptw
fn clone(&self) -> pt_packet_ptw
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 Debug for pt_packet_ptw
impl Debug for pt_packet_ptw
Source§impl Hash for pt_packet_ptw
impl Hash for pt_packet_ptw
Source§impl PartialEq for pt_packet_ptw
impl PartialEq for pt_packet_ptw
impl Copy for pt_packet_ptw
impl Eq for pt_packet_ptw
impl StructuralPartialEq for pt_packet_ptw
Auto Trait Implementations§
impl Freeze for pt_packet_ptw
impl RefUnwindSafe for pt_packet_ptw
impl Send for pt_packet_ptw
impl Sync for pt_packet_ptw
impl Unpin for pt_packet_ptw
impl UnwindSafe for pt_packet_ptw
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