pub enum ErrorCorrection {
Low,
Medium,
Quartile,
High,
}Available on crate feature
qr only.Expand description
An error correction level for a Model 2 QR Code.
Variants§
Low
Uses the Low error correction level.
Medium
Uses the Medium error correction level.
Quartile
Uses the Quartile error correction level.
High
Uses the High error correction level.
Trait Implementations§
Source§impl Clone for QrErrorCorrection
impl Clone for QrErrorCorrection
Source§fn clone(&self) -> QrErrorCorrection
fn clone(&self) -> QrErrorCorrection
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 QrErrorCorrection
Source§impl Debug for QrErrorCorrection
impl Debug for QrErrorCorrection
impl Eq for QrErrorCorrection
Source§impl From<QrErrorCorrection> for SymbolErrorCorrection
impl From<QrErrorCorrection> for SymbolErrorCorrection
Source§fn from(value: QrErrorCorrection) -> Self
fn from(value: QrErrorCorrection) -> Self
Converts to this type from the input type.
Source§impl Hash for QrErrorCorrection
impl Hash for QrErrorCorrection
Source§impl Ord for QrErrorCorrection
impl Ord for QrErrorCorrection
Source§fn cmp(&self, other: &QrErrorCorrection) -> Ordering
fn cmp(&self, other: &QrErrorCorrection) -> 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 QrErrorCorrection
impl PartialEq for QrErrorCorrection
Source§impl PartialOrd for QrErrorCorrection
impl PartialOrd for QrErrorCorrection
impl StructuralPartialEq for QrErrorCorrection
Auto Trait Implementations§
impl Freeze for QrErrorCorrection
impl RefUnwindSafe for QrErrorCorrection
impl Send for QrErrorCorrection
impl Sync for QrErrorCorrection
impl Unpin for QrErrorCorrection
impl UnsafeUnpin for QrErrorCorrection
impl UnwindSafe for QrErrorCorrection
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