pub struct Config {
pub bits_per_sample: u32,
pub block_size: u32,
pub ref_interval: u32,
pub preprocessor: bool,
}Expand description
Compression parameters.
Fields§
§bits_per_sample: u32Bits per sample (1..=32).
block_size: u32Block size in samples.
ref_interval: u32Reference sample interval in blocks (0 = disabled).
preprocessor: boolWhether the unit-delay preprocessor is enabled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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