pub struct CoeffAnalysis {
pub total_coeffs: u64,
pub zero_count: u64,
pub nonzero_count: u64,
pub dc_sum: i64,
pub ac_sum: i64,
pub max_abs: u32,
}Expand description
Analyze coefficient distribution.
Fields§
§total_coeffs: u64Total coefficients analyzed.
zero_count: u64Zero coefficients.
nonzero_count: u64Non-zero coefficients.
dc_sum: i64DC coefficient sum.
ac_sum: i64AC coefficient sum.
max_abs: u32Maximum absolute value.
Implementations§
Trait Implementations§
Source§impl Clone for CoeffAnalysis
impl Clone for CoeffAnalysis
Source§fn clone(&self) -> CoeffAnalysis
fn clone(&self) -> CoeffAnalysis
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 CoeffAnalysis
impl Debug for CoeffAnalysis
Source§impl Default for CoeffAnalysis
impl Default for CoeffAnalysis
Source§fn default() -> CoeffAnalysis
fn default() -> CoeffAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CoeffAnalysis
impl RefUnwindSafe for CoeffAnalysis
impl Send for CoeffAnalysis
impl Sync for CoeffAnalysis
impl Unpin for CoeffAnalysis
impl UnsafeUnpin for CoeffAnalysis
impl UnwindSafe for CoeffAnalysis
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more