#[repr(C)]pub struct EventValueRecord {
pub header: RecordHeader,
pub kind: u8,
pub field_id: U64,
pub thread_id: U64,
}Fields§
§header: RecordHeader§kind: u8§field_id: U64§thread_id: U64Implementations§
Trait Implementations§
Source§impl AsBytes for EventValueRecordwhere
RecordHeader: AsBytes,
u8: AsBytes,
U64: AsBytes,
HasPadding<EventValueRecord, { _ }>: ShouldBe<false>,
impl AsBytes for EventValueRecordwhere
RecordHeader: AsBytes,
u8: AsBytes,
U64: AsBytes,
HasPadding<EventValueRecord, { _ }>: ShouldBe<false>,
Source§impl Clone for EventValueRecord
impl Clone for EventValueRecord
Source§fn clone(&self) -> EventValueRecord
fn clone(&self) -> EventValueRecord
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 EventValueRecord
impl Debug for EventValueRecord
Source§impl FromBytes for EventValueRecord
impl FromBytes for EventValueRecord
Source§fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
Source§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§impl FromZeroes for EventValueRecord
impl FromZeroes for EventValueRecord
impl Copy for EventValueRecord
impl Unaligned for EventValueRecord
Auto Trait Implementations§
impl Freeze for EventValueRecord
impl RefUnwindSafe for EventValueRecord
impl Send for EventValueRecord
impl Sync for EventValueRecord
impl Unpin for EventValueRecord
impl UnwindSafe for EventValueRecord
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