Struct AutocorrStatistic
#[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: u32Implementations§
§impl AutocorrStatistic
impl AutocorrStatistic
pub 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.
pub const fn set_autocorr_trys(&mut self, val: u16)
pub const fn set_autocorr_trys(&mut self, val: u16)
Count each time an autocorrelation test starts. Any write to the field resets the counter.
pub 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.
pub const fn set_autocorr_fails(&mut self, val: u8)
pub const 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§
§impl Clone for AutocorrStatistic
impl Clone for AutocorrStatistic
§fn clone(&self) -> AutocorrStatistic
fn clone(&self) -> AutocorrStatistic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AutocorrStatistic
§impl Debug for AutocorrStatistic
impl Debug for AutocorrStatistic
§impl Default for AutocorrStatistic
impl Default for AutocorrStatistic
§fn default() -> AutocorrStatistic
fn default() -> AutocorrStatistic
Returns the “default value” for a type. Read more
impl Eq for AutocorrStatistic
§impl PartialEq for AutocorrStatistic
impl PartialEq 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 UnsafeUnpin 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