pub struct Config {
pub width: u16,
pub height: u16,
pub bps: u8,
pub segment_strips: u16,
pub signed_samples: bool,
}Expand description
Compressor configuration.
Fields§
§width: u16Image width in pixels (must be multiple of 8).
height: u16Image height in pixels (must be multiple of 8).
bps: u8Bits per sample (2..=16).
segment_strips: u16Segment size in strips (1..=height/8).
signed_samples: boolWhether samples are signed.
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