Enum qrcode::canvas::MaskPattern
[−]
[src]
pub enum MaskPattern { Checkerboard, HorizontalLines, VerticalLines, DiagonalLines, LargeCheckerboard, Fields, Diamonds, Meadow, }
The mask patterns. Since QR code and Micro QR code do not use the same pattern number, we name them according to their shape instead of the number.
Variants
Checkerboard | QR code pattern 000: | |
HorizontalLines | QR code pattern 001: | |
VerticalLines | QR code pattern 010: | |
DiagonalLines | QR code pattern 011: | |
LargeCheckerboard | QR code pattern 100: | |
Fields | QR code pattern 101: | |
Diamonds | QR code pattern 110: | |
Meadow | QR code pattern 111: |
Trait Implementations
Derived Implementations
impl Clone for MaskPattern
[src]
fn clone(&self) -> MaskPattern
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more