#[repr(transparent)]pub struct CounterCfg(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl CounterCfg
impl CounterCfg
Sourcepub const fn set_clock_sel(&mut self, val: u8)
pub const fn set_clock_sel(&mut self, val: u8)
Selects the internal clock on which to compute statistics.
Sourcepub const fn shift4x(&self) -> u8
pub const fn shift4x(&self) -> u8
To be used to add precision to clock_ratio and determine ‘entropy refill’.
Sourcepub const fn set_shift4x(&mut self, val: u8)
pub const fn set_shift4x(&mut self, val: u8)
To be used to add precision to clock_ratio and determine ‘entropy refill’.
Trait Implementations§
Source§impl Clone for CounterCfg
impl Clone for CounterCfg
Source§fn clone(&self) -> CounterCfg
fn clone(&self) -> CounterCfg
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 CounterCfg
impl Debug for CounterCfg
Source§impl Default for CounterCfg
impl Default for CounterCfg
Source§fn default() -> CounterCfg
fn default() -> CounterCfg
Returns the “default value” for a type. Read more
Source§impl PartialEq for CounterCfg
impl PartialEq for CounterCfg
impl Copy for CounterCfg
impl Eq for CounterCfg
impl StructuralPartialEq for CounterCfg
Auto Trait Implementations§
impl Freeze for CounterCfg
impl RefUnwindSafe for CounterCfg
impl Send for CounterCfg
impl Sync for CounterCfg
impl Unpin for CounterCfg
impl UnwindSafe for CounterCfg
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