Struct jpeg_decoder::parser::ScanInfo
source · pub struct ScanInfo {
pub component_indices: Vec<usize>,
pub dc_table_indices: Vec<usize>,
pub ac_table_indices: Vec<usize>,
pub spectral_selection: Range<u8>,
pub predictor_selection: Predictor,
pub successive_approximation_high: u8,
pub successive_approximation_low: u8,
pub point_transform: u8,
}
Fields§
§component_indices: Vec<usize>
§dc_table_indices: Vec<usize>
§ac_table_indices: Vec<usize>
§spectral_selection: Range<u8>
§predictor_selection: Predictor
§successive_approximation_high: u8
§successive_approximation_low: u8
§point_transform: u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScanInfo
impl RefUnwindSafe for ScanInfo
impl Send for ScanInfo
impl Sync for ScanInfo
impl Unpin for ScanInfo
impl UnwindSafe for ScanInfo
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> 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