pub struct CodestreamLayout {
pub offset: usize,
pub len: usize,
}Expand description
Structural layout of one embedded JPEG codestream. Byte range of one embedded JPEG codestream inside an input buffer.
Fields§
§offset: usizeByte offset of the codestream start in the original input.
len: usizeByte length of the codestream.
Together with CodestreamLayout::offset, this forms a sliceable
byte range into the original input buffer.
Trait Implementations§
Source§impl Clone for CodestreamLayout
impl Clone for CodestreamLayout
Source§fn clone(&self) -> CodestreamLayout
fn clone(&self) -> CodestreamLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodestreamLayout
impl Debug for CodestreamLayout
Source§impl PartialEq for CodestreamLayout
impl PartialEq for CodestreamLayout
impl Copy for CodestreamLayout
impl Eq for CodestreamLayout
impl StructuralPartialEq for CodestreamLayout
Auto Trait Implementations§
impl Freeze for CodestreamLayout
impl RefUnwindSafe for CodestreamLayout
impl Send for CodestreamLayout
impl Sync for CodestreamLayout
impl Unpin for CodestreamLayout
impl UnsafeUnpin for CodestreamLayout
impl UnwindSafe for CodestreamLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more