#[repr(transparent)]pub struct EtbCounterValue(pub u32);Expand description
ETB Counter Value Register
Tuple Fields§
§0: u32Implementations§
Source§impl EtbCounterValue
impl EtbCounterValue
Sourcepub const fn counter_value(&self) -> u16
pub const fn counter_value(&self) -> u16
Byte count counter value
Sourcepub const fn set_counter_value(&mut self, val: u16)
pub const fn set_counter_value(&mut self, val: u16)
Byte count counter value
Trait Implementations§
Source§impl Clone for EtbCounterValue
impl Clone for EtbCounterValue
Source§fn clone(&self) -> EtbCounterValue
fn clone(&self) -> EtbCounterValue
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 EtbCounterValue
impl Debug for EtbCounterValue
Source§impl Default for EtbCounterValue
impl Default for EtbCounterValue
Source§fn default() -> EtbCounterValue
fn default() -> EtbCounterValue
Returns the “default value” for a type. Read more
Source§impl PartialEq for EtbCounterValue
impl PartialEq for EtbCounterValue
impl Copy for EtbCounterValue
impl Eq for EtbCounterValue
impl StructuralPartialEq for EtbCounterValue
Auto Trait Implementations§
impl Freeze for EtbCounterValue
impl RefUnwindSafe for EtbCounterValue
impl Send for EtbCounterValue
impl Sync for EtbCounterValue
impl Unpin for EtbCounterValue
impl UnwindSafe for EtbCounterValue
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