Struct rqrr::MetaData[][src]

pub struct MetaData {
    pub version: Version,
    pub ecc_level: u16,
    pub mask: u16,
}

MetaData for a QR grid

Stores information about the size/version of given grid. Also contains information about the error correction level and bit mask used.

Fields

version: Version

The version/size of the grid

ecc_level: u16

the error correction leven, between 0 and 3

mask: u16

The mask that was used, value between 0 and 7

Trait Implementations

impl Clone for MetaData[src]

impl Copy for MetaData[src]

impl Debug for MetaData[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

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.