Enum qrcode::types::EcLevel[][src]

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

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

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

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

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

Trait Implementations

impl Debug for EcLevel
[src]

Formats the value using the given formatter. Read more

impl PartialEq for EcLevel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for EcLevel
[src]

impl Copy for EcLevel
[src]

impl Clone for EcLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for EcLevel
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for EcLevel
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Auto Trait Implementations

impl Send for EcLevel

impl Sync for EcLevel