pub struct NullHeader(/* private fields */);Implementations§
Source§impl NullHeader
impl NullHeader
pub fn raw_type(&self) -> u8
pub fn size_words(&self) -> u16
pub fn name_ref(&self) -> u16
pub fn set_raw_type(&mut self, value: u8)
pub fn set_size_words(&mut self, value: u16)
pub fn set_name_ref(&mut self, value: u16)
pub fn empty() -> Self
Trait Implementations§
Source§impl<T> BitRange<T> for NullHeader
impl<T> BitRange<T> for NullHeader
Source§impl<T> BitRangeMut<T> for NullHeaderwhere
u64: BitRangeMut<T>,
impl<T> BitRangeMut<T> for NullHeaderwhere
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 NullHeader
impl Clone for NullHeader
Source§fn clone(&self) -> NullHeader
fn clone(&self) -> NullHeader
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 NullHeader
impl Debug for NullHeader
Source§impl PartialEq for NullHeader
impl PartialEq for NullHeader
Source§impl TraceHeader for NullHeader
impl TraceHeader for NullHeader
fn set_size_words(&mut self, n: u16)
fn to_le_bytes(&self) -> [u8; 8]
impl Copy for NullHeader
impl Eq for NullHeader
impl StructuralPartialEq for NullHeader
Auto Trait Implementations§
impl Freeze for NullHeader
impl RefUnwindSafe for NullHeader
impl Send for NullHeader
impl Sync for NullHeader
impl Unpin for NullHeader
impl UnwindSafe for NullHeader
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.