pub struct MetaData {
pub version: Version,
pub ecc_level: u16,
pub mask: u16,
}Expand description
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: VersionThe version/size of the grid
ecc_level: u16the error correction leven, between 0 and 3
mask: u16The mask that was used, value between 0 and 7
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaData
impl RefUnwindSafe for MetaData
impl Send for MetaData
impl Sync for MetaData
impl Unpin for MetaData
impl UnsafeUnpin for MetaData
impl UnwindSafe for MetaData
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