[][src]Enum qr_code::types::EcLevel

pub enum EcLevel {
    L,
    M,
    Q,
    H,
}

The error correction level. It allows the original information be recovered even if parts of the code is damaged.

Variants

L

Low error correction. Allows up to 7% of wrong blocks.

M

Medium error correction (default). Allows up to 15% of wrong blocks.

Q

"Quartile" error correction. Allows up to 25% of wrong blocks.

H

High error correction. Allows up to 30% of wrong blocks.

Trait Implementations

impl Clone for EcLevel[src]

impl Copy for EcLevel[src]

impl Debug for EcLevel[src]

impl Eq for EcLevel[src]

impl Ord for EcLevel[src]

impl PartialEq<EcLevel> for EcLevel[src]

impl PartialOrd<EcLevel> for EcLevel[src]

impl StructuralEq for EcLevel[src]

impl StructuralPartialEq for EcLevel[src]

Auto Trait Implementations

impl RefUnwindSafe for EcLevel

impl Send for EcLevel

impl Sync for EcLevel

impl Unpin for EcLevel

impl UnwindSafe for EcLevel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.