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