pub struct AdCfg {
pub wa: u32,
pub lim: u32,
pub mask: u32,
}Expand description
Adaptive-layer settings (stream header).
Fields§
§wa: u32APM weight in sixteenths (0 = off).
lim: u32Count limit of the APM bins (rate floor 2^-⌊log₂(lim+2)⌋).
mask: u32Decision mask: bit 0 zero flag, 1 sign, 2 bucket, 3 mantissa.
Trait Implementations§
impl Copy for AdCfg
impl Eq for AdCfg
impl StructuralPartialEq for AdCfg
Auto Trait Implementations§
impl Freeze for AdCfg
impl RefUnwindSafe for AdCfg
impl Send for AdCfg
impl Sync for AdCfg
impl Unpin for AdCfg
impl UnsafeUnpin for AdCfg
impl UnwindSafe for AdCfg
Blanket Implementations§
impl<T> Boilerplate for T
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