pub struct BaseProfilerRecordHeader(/* private fields */);Implementations§
Source§impl BaseProfilerRecordHeader
impl BaseProfilerRecordHeader
pub fn raw_type(&self) -> u8
pub fn size_words(&self) -> u16
pub fn profiler_sub_type(&self) -> u8
pub fn thread_ref(&self) -> u8
pub fn set_raw_type(&mut self, value: u8)
pub fn set_size_words(&mut self, value: u16)
pub fn set_profiler_sub_type(&mut self, value: u8)
pub fn set_thread_ref(&mut self, value: u8)
pub fn empty() -> Self
Trait Implementations§
Source§impl<T> BitRange<T> for BaseProfilerRecordHeader
impl<T> BitRange<T> for BaseProfilerRecordHeader
Source§impl<T> BitRangeMut<T> for BaseProfilerRecordHeaderwhere
u64: BitRangeMut<T>,
impl<T> BitRangeMut<T> for BaseProfilerRecordHeaderwhere
u64: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Source§impl Clone for BaseProfilerRecordHeader
impl Clone for BaseProfilerRecordHeader
Source§fn clone(&self) -> BaseProfilerRecordHeader
fn clone(&self) -> BaseProfilerRecordHeader
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 BaseProfilerRecordHeader
impl Debug for BaseProfilerRecordHeader
Source§impl PartialEq for BaseProfilerRecordHeader
impl PartialEq for BaseProfilerRecordHeader
Source§impl TraceHeader for BaseProfilerRecordHeader
impl TraceHeader for BaseProfilerRecordHeader
fn set_size_words(&mut self, n: u16)
fn to_le_bytes(&self) -> [u8; 8]
impl Copy for BaseProfilerRecordHeader
impl Eq for BaseProfilerRecordHeader
impl StructuralPartialEq for BaseProfilerRecordHeader
Auto Trait Implementations§
impl Freeze for BaseProfilerRecordHeader
impl RefUnwindSafe for BaseProfilerRecordHeader
impl Send for BaseProfilerRecordHeader
impl Sync for BaseProfilerRecordHeader
impl Unpin for BaseProfilerRecordHeader
impl UnwindSafe for BaseProfilerRecordHeader
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.