#[repr(transparent)]pub struct AutocorrStatistic(pub u32);
Expand description
Statistics counter for autocorrelation test activations. Statistics collection is stopped if one of the counters reach its limit of all ones.
Tuple Fields§
§0: u32
Implementations§
Source§impl AutocorrStatistic
impl AutocorrStatistic
Sourcepub const fn autocorr_trys(&self) -> u16
pub const fn autocorr_trys(&self) -> u16
Count each time an autocorrelation test starts. Any write to the field resets the counter.
Sourcepub fn set_autocorr_trys(&mut self, val: u16)
pub fn set_autocorr_trys(&mut self, val: u16)
Count each time an autocorrelation test starts. Any write to the field resets the counter.
Sourcepub const fn autocorr_fails(&self) -> u8
pub const fn autocorr_fails(&self) -> u8
Count each time an autocorrelation test fails. Any write to the field resets the counter.
Sourcepub fn set_autocorr_fails(&mut self, val: u8)
pub fn set_autocorr_fails(&mut self, val: u8)
Count each time an autocorrelation test fails. Any write to the field resets the counter.
Trait Implementations§
Source§impl Clone for AutocorrStatistic
impl Clone for AutocorrStatistic
Source§fn clone(&self) -> AutocorrStatistic
fn clone(&self) -> AutocorrStatistic
Returns a copy 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 Default for AutocorrStatistic
impl Default for AutocorrStatistic
Source§fn default() -> AutocorrStatistic
fn default() -> AutocorrStatistic
Returns the “default value” for a type. Read more
Source§impl PartialEq for AutocorrStatistic
impl PartialEq for AutocorrStatistic
impl Copy for AutocorrStatistic
impl Eq for AutocorrStatistic
impl StructuralPartialEq for AutocorrStatistic
Auto Trait Implementations§
impl Freeze for AutocorrStatistic
impl RefUnwindSafe for AutocorrStatistic
impl Send for AutocorrStatistic
impl Sync for AutocorrStatistic
impl Unpin for AutocorrStatistic
impl UnwindSafe for AutocorrStatistic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)