pub enum ErrorCorrectionMode {
Disabled,
Indiscriminate,
EdgePriority,
EdgeOnly,
}Expand description
Error-correction mode of operation.
Variants§
Disabled
Skip the error-correction pass.
Indiscriminate
Correct all discontinuities regardless of edge impact.
EdgePriority
Correct artifacts only when edges/corners are not affected.
EdgeOnly
Only correct artifacts at edges.
Trait Implementations§
Source§impl Clone for ErrorCorrectionMode
impl Clone for ErrorCorrectionMode
Source§fn clone(&self) -> ErrorCorrectionMode
fn clone(&self) -> ErrorCorrectionMode
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 ErrorCorrectionMode
Source§impl Debug for ErrorCorrectionMode
impl Debug for ErrorCorrectionMode
impl Eq for ErrorCorrectionMode
Source§impl PartialEq for ErrorCorrectionMode
impl PartialEq for ErrorCorrectionMode
Source§fn eq(&self, other: &ErrorCorrectionMode) -> bool
fn eq(&self, other: &ErrorCorrectionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorCorrectionMode
Auto Trait Implementations§
impl Freeze for ErrorCorrectionMode
impl RefUnwindSafe for ErrorCorrectionMode
impl Send for ErrorCorrectionMode
impl Sync for ErrorCorrectionMode
impl Unpin for ErrorCorrectionMode
impl UnsafeUnpin for ErrorCorrectionMode
impl UnwindSafe for ErrorCorrectionMode
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