mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
partial stub out of decoder
This commit is contained in:
@@ -72,6 +72,7 @@ pub struct FormatInformation {
|
||||
pub error_correction_level: ErrorCorrectionLevel,
|
||||
pub data_mask: u8,
|
||||
pub microVersion: u32,
|
||||
pub isMirrored: bool,
|
||||
}
|
||||
|
||||
impl Default for FormatInformation {
|
||||
@@ -81,6 +82,7 @@ impl Default for FormatInformation {
|
||||
error_correction_level: ErrorCorrectionLevel::Invalid,
|
||||
data_mask: Default::default(),
|
||||
microVersion: 0,
|
||||
isMirrored: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -96,6 +98,7 @@ impl FormatInformation {
|
||||
microVersion: 0,
|
||||
error_correction_level: errorCorrectionLevel,
|
||||
data_mask: dataMask,
|
||||
isMirrored: false,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user