pub enum ErrorCorrection {
DetectionOnly,
Low,
Medium,
Quartile,
}Available on crate feature
micro-qr only.Expand description
An error correction level for a Micro QR Code.
Variants§
DetectionOnly
Detects errors in an M1 symbol without correcting them.
Low
Uses the Low error correction level.
Medium
Uses the Medium error correction level.
Quartile
Uses the Quartile error correction level.
Trait Implementations§
Source§impl Clone for MicroErrorCorrection
impl Clone for MicroErrorCorrection
Source§fn clone(&self) -> MicroErrorCorrection
fn clone(&self) -> MicroErrorCorrection
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 MicroErrorCorrection
Source§impl Debug for MicroErrorCorrection
impl Debug for MicroErrorCorrection
impl Eq for MicroErrorCorrection
Source§impl From<MicroErrorCorrection> for SymbolErrorCorrection
impl From<MicroErrorCorrection> for SymbolErrorCorrection
Source§fn from(value: MicroErrorCorrection) -> Self
fn from(value: MicroErrorCorrection) -> Self
Converts to this type from the input type.
Source§impl Hash for MicroErrorCorrection
impl Hash for MicroErrorCorrection
Source§impl Ord for MicroErrorCorrection
impl Ord for MicroErrorCorrection
Source§fn cmp(&self, other: &MicroErrorCorrection) -> Ordering
fn cmp(&self, other: &MicroErrorCorrection) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MicroErrorCorrection
impl PartialEq for MicroErrorCorrection
Source§impl PartialOrd for MicroErrorCorrection
impl PartialOrd for MicroErrorCorrection
impl StructuralPartialEq for MicroErrorCorrection
Auto Trait Implementations§
impl Freeze for MicroErrorCorrection
impl RefUnwindSafe for MicroErrorCorrection
impl Send for MicroErrorCorrection
impl Sync for MicroErrorCorrection
impl Unpin for MicroErrorCorrection
impl UnsafeUnpin for MicroErrorCorrection
impl UnwindSafe for MicroErrorCorrection
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