pub enum QrCodeEcc {
Low,
Medium,
Quartile,
High,
}
Expand description
The error correction level in a QR Code symbol.
Variants§
Low
The QR Code can tolerate about 7% erroneous codewords.
Medium
The QR Code can tolerate about 15% erroneous codewords.
Quartile
The QR Code can tolerate about 25% erroneous codewords.
High
The QR Code can tolerate about 30% erroneous codewords.
Trait Implementations§
source§impl Ord for QrCodeEcc
impl Ord for QrCodeEcc
source§impl PartialEq for QrCodeEcc
impl PartialEq for QrCodeEcc
source§impl PartialOrd for QrCodeEcc
impl PartialOrd for QrCodeEcc
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for QrCodeEcc
impl Eq for QrCodeEcc
impl StructuralPartialEq for QrCodeEcc
Auto Trait Implementations§
impl Freeze for QrCodeEcc
impl RefUnwindSafe for QrCodeEcc
impl Send for QrCodeEcc
impl Sync for QrCodeEcc
impl Unpin for QrCodeEcc
impl UnwindSafe for QrCodeEcc
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