pub enum DuplicateTablePolicy {
AllowIdentical,
RejectConflicting,
}Expand description
Duplicate JPEG table handling policy.
Variants§
AllowIdentical
Coalesce byte-identical duplicate definitions while rejecting conflicts.
RejectConflicting
Preserve byte-identical redefinitions but reject conflicting definitions.
This mode retains the source marker bytes when no conflict is present.
Trait Implementations§
Source§impl Clone for DuplicateTablePolicy
impl Clone for DuplicateTablePolicy
Source§fn clone(&self) -> DuplicateTablePolicy
fn clone(&self) -> DuplicateTablePolicy
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 DuplicateTablePolicy
Source§impl Debug for DuplicateTablePolicy
impl Debug for DuplicateTablePolicy
impl Eq for DuplicateTablePolicy
Source§impl PartialEq for DuplicateTablePolicy
impl PartialEq for DuplicateTablePolicy
impl StructuralPartialEq for DuplicateTablePolicy
Auto Trait Implementations§
impl Freeze for DuplicateTablePolicy
impl RefUnwindSafe for DuplicateTablePolicy
impl Send for DuplicateTablePolicy
impl Sync for DuplicateTablePolicy
impl Unpin for DuplicateTablePolicy
impl UnsafeUnpin for DuplicateTablePolicy
impl UnwindSafe for DuplicateTablePolicy
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