pub struct J2kCodestreamRange {
pub offset: usize,
pub length: usize,
}Expand description
Byte range inside a complete encoded J2K, JP2, or JPH input.
Fields§
§offset: usizeZero-based offset from the beginning of the encoded input.
length: usizeNumber of bytes in the range.
Implementations§
Trait Implementations§
Source§impl Clone for J2kCodestreamRange
impl Clone for J2kCodestreamRange
Source§fn clone(&self) -> J2kCodestreamRange
fn clone(&self) -> J2kCodestreamRange
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 J2kCodestreamRange
Source§impl Debug for J2kCodestreamRange
impl Debug for J2kCodestreamRange
impl Eq for J2kCodestreamRange
Source§impl Hash for J2kCodestreamRange
impl Hash for J2kCodestreamRange
Source§impl PartialEq for J2kCodestreamRange
impl PartialEq for J2kCodestreamRange
impl StructuralPartialEq for J2kCodestreamRange
Auto Trait Implementations§
impl Freeze for J2kCodestreamRange
impl RefUnwindSafe for J2kCodestreamRange
impl Send for J2kCodestreamRange
impl Sync for J2kCodestreamRange
impl Unpin for J2kCodestreamRange
impl UnsafeUnpin for J2kCodestreamRange
impl UnwindSafe for J2kCodestreamRange
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