pub struct Cod {
pub progression: Progression,
pub layers: u16,
pub decomposition_levels: u8,
pub code_block_width: u8,
pub code_block_height: u8,
pub code_block_style: u8,
pub transform: Transform,
pub precinct_sizes: Vec<(u8, u8)>,
}Expand description
COD — coding style default (ISO A.6.1): the parameters Tier-2 and the DWT need (decomposition levels, code-block size + style, transform, precincts).
Fields§
§progression: Progression§layers: u16§decomposition_levels: u8§code_block_width: u8§code_block_height: u8§code_block_style: u8§transform: Transform§precinct_sizes: Vec<(u8, u8)>Per-level precinct sizes when explicit; empty = maximal (PPx=PPy=15).
Trait Implementations§
impl Eq for Cod
impl StructuralPartialEq for Cod
Auto Trait Implementations§
impl Freeze for Cod
impl RefUnwindSafe for Cod
impl Send for Cod
impl Sync for Cod
impl Unpin for Cod
impl UnsafeUnpin for Cod
impl UnwindSafe for Cod
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