pub struct PreencodedHtj2k97CompactImage {
pub width: u32,
pub height: u32,
pub bit_depth: u8,
pub signed: bool,
pub payload: Vec<u8>,
pub components: Vec<PreencodedHtj2k97CompactComponent>,
}Expand description
Preencoded irreversible 9/7 HTJ2K code-block image backed by one compact payload buffer.
Fields§
§width: u32Reference-grid image width.
height: u32Reference-grid image height.
bit_depth: u8Component precision in bits.
signed: boolWhether component samples are signed.
payload: Vec<u8>Contiguous encoded code-block payload bytes.
components: Vec<PreencodedHtj2k97CompactComponent>Components at their native resolution.
Trait Implementations§
Source§impl Clone for PreencodedHtj2k97CompactImage
impl Clone for PreencodedHtj2k97CompactImage
Source§fn clone(&self) -> PreencodedHtj2k97CompactImage
fn clone(&self) -> PreencodedHtj2k97CompactImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PreencodedHtj2k97CompactImage
impl RefUnwindSafe for PreencodedHtj2k97CompactImage
impl Send for PreencodedHtj2k97CompactImage
impl Sync for PreencodedHtj2k97CompactImage
impl Unpin for PreencodedHtj2k97CompactImage
impl UnsafeUnpin for PreencodedHtj2k97CompactImage
impl UnwindSafe for PreencodedHtj2k97CompactImage
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