pub struct JpegTilePrepareOptions {
pub expected_dimensions: Option<(u16, u16)>,
pub duplicate_table_policy: DuplicateTablePolicy,
pub repair_zero_sof_dimensions: bool,
pub validate_restart_markers: bool,
}Expand description
Options for preparing TIFF/WSI JPEG tile payloads.
Fields§
§expected_dimensions: Option<(u16, u16)>Container-derived expected tile dimensions.
duplicate_table_policy: DuplicateTablePolicyDuplicate DQT/DHT handling policy within supplied JPEGTables bytes.
repair_zero_sof_dimensions: boolRepair zero SOF dimensions using expected_dimensions.
validate_restart_markers: boolValidate restart marker order in scan data.
Trait Implementations§
Source§impl Clone for JpegTilePrepareOptions
impl Clone for JpegTilePrepareOptions
Source§fn clone(&self) -> JpegTilePrepareOptions
fn clone(&self) -> JpegTilePrepareOptions
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 JpegTilePrepareOptions
Source§impl Debug for JpegTilePrepareOptions
impl Debug for JpegTilePrepareOptions
Source§impl Default for JpegTilePrepareOptions
impl Default for JpegTilePrepareOptions
impl Eq for JpegTilePrepareOptions
Source§impl PartialEq for JpegTilePrepareOptions
impl PartialEq for JpegTilePrepareOptions
impl StructuralPartialEq for JpegTilePrepareOptions
Auto Trait Implementations§
impl Freeze for JpegTilePrepareOptions
impl RefUnwindSafe for JpegTilePrepareOptions
impl Send for JpegTilePrepareOptions
impl Sync for JpegTilePrepareOptions
impl Unpin for JpegTilePrepareOptions
impl UnsafeUnpin for JpegTilePrepareOptions
impl UnwindSafe for JpegTilePrepareOptions
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