pub struct JpegScanRanges {
pub sos_marker_offset: usize,
pub sos_payload_range: Range<usize>,
pub entropy_range: Range<usize>,
pub eoi_marker_offset: Option<usize>,
}Expand description
Byte ranges around the first Start-of-Scan marker.
Fields§
§sos_marker_offset: usizeOffset of the SOS marker prefix byte.
sos_payload_range: Range<usize>Payload range of the SOS segment, excluding marker and length bytes.
entropy_range: Range<usize>Entropy-coded scan data range after SOS and before EOI or the next marker.
eoi_marker_offset: Option<usize>Offset of EOI when present.
Trait Implementations§
Source§impl Clone for JpegScanRanges
impl Clone for JpegScanRanges
Source§fn clone(&self) -> JpegScanRanges
fn clone(&self) -> JpegScanRanges
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 moreSource§impl Debug for JpegScanRanges
impl Debug for JpegScanRanges
impl Eq for JpegScanRanges
Source§impl PartialEq for JpegScanRanges
impl PartialEq for JpegScanRanges
impl StructuralPartialEq for JpegScanRanges
Auto Trait Implementations§
impl Freeze for JpegScanRanges
impl RefUnwindSafe for JpegScanRanges
impl Send for JpegScanRanges
impl Sync for JpegScanRanges
impl Unpin for JpegScanRanges
impl UnsafeUnpin for JpegScanRanges
impl UnwindSafe for JpegScanRanges
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