mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
feat: ported qr-model1 support from zxing-cpp
This commit is contained in:
@@ -73,6 +73,7 @@ pub struct FormatInformation {
|
||||
pub data_mask: u8,
|
||||
pub microVersion: u32,
|
||||
pub isMirrored: bool,
|
||||
pub isModel1: bool,
|
||||
|
||||
pub index: u8, // = 255;
|
||||
pub bitsIndex: u8, // = 255;
|
||||
@@ -86,6 +87,7 @@ impl Default for FormatInformation {
|
||||
data_mask: Default::default(),
|
||||
microVersion: 0,
|
||||
isMirrored: false,
|
||||
isModel1: false,
|
||||
index: 255,
|
||||
bitsIndex: 255,
|
||||
}
|
||||
@@ -104,6 +106,7 @@ impl FormatInformation {
|
||||
error_correction_level: errorCorrectionLevel,
|
||||
data_mask: dataMask,
|
||||
isMirrored: false,
|
||||
isModel1: false,
|
||||
index: 255,
|
||||
bitsIndex: 255,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user