pub struct HtCodeBlockPayloadRanges {
pub cleanup: J2kCodestreamRange,
pub refinement: Option<J2kCodestreamRange>,
}Expand description
One retained cleanup/refinement record for an HTJ2K code block.
The first record for a code block contains its cleanup range and may contain the first refinement fragment. When refinement bytes are split across packets, immediately following continuation records have an empty cleanup range and a non-empty refinement range. Consumers use the code block’s declared refinement length to determine where the next block starts.
Fields§
§cleanup: J2kCodestreamRangeCleanup-pass payload range.
refinement: Option<J2kCodestreamRange>SigProp/MagRef payload fragment, when refinement is present.
Trait Implementations§
Source§impl Clone for HtCodeBlockPayloadRanges
impl Clone for HtCodeBlockPayloadRanges
Source§fn clone(&self) -> HtCodeBlockPayloadRanges
fn clone(&self) -> HtCodeBlockPayloadRanges
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 moreimpl Copy for HtCodeBlockPayloadRanges
Source§impl Debug for HtCodeBlockPayloadRanges
impl Debug for HtCodeBlockPayloadRanges
impl Eq for HtCodeBlockPayloadRanges
Source§impl Hash for HtCodeBlockPayloadRanges
impl Hash for HtCodeBlockPayloadRanges
Source§impl PartialEq for HtCodeBlockPayloadRanges
impl PartialEq for HtCodeBlockPayloadRanges
impl StructuralPartialEq for HtCodeBlockPayloadRanges
Auto Trait Implementations§
impl Freeze for HtCodeBlockPayloadRanges
impl RefUnwindSafe for HtCodeBlockPayloadRanges
impl Send for HtCodeBlockPayloadRanges
impl Sync for HtCodeBlockPayloadRanges
impl Unpin for HtCodeBlockPayloadRanges
impl UnsafeUnpin for HtCodeBlockPayloadRanges
impl UnwindSafe for HtCodeBlockPayloadRanges
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