pub struct QrMatrix {
pub modules: Vec<Vec<bool>>,
pub size: usize,
}Expand description
A QR code represented as a grid of boolean modules.
Fields§
§modules: Vec<Vec<bool>>true = dark module, false = light module.
size: usizeNumber of modules per side (QR codes are always square).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QrMatrix
impl RefUnwindSafe for QrMatrix
impl Send for QrMatrix
impl Sync for QrMatrix
impl Unpin for QrMatrix
impl UnsafeUnpin for QrMatrix
impl UnwindSafe for QrMatrix
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