mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
feat: initial port for Rectangular Micro QR
This is the intial port for rMQR support. Directly ported from 7a294f2f3c (diff-5d6a0ddd024f3102876492f502a41becde594de81f46d942b87b64cbfdc1985b)
subsequent improvements will be incorporated in future patches.
This commit is contained in:
@@ -75,9 +75,10 @@ pub struct FormatInformation {
|
||||
pub microVersion: u32,
|
||||
pub isMirrored: bool,
|
||||
|
||||
pub mask: u32, // = 0
|
||||
pub data: u32, // = 255
|
||||
pub bitsIndex: u8, // = 255;
|
||||
pub mask: u32, // = 0
|
||||
pub data: u32, // = 255
|
||||
pub bitsIndex: u8, // = 255;
|
||||
pub rMQRVersion: u8, //= 0;
|
||||
}
|
||||
|
||||
impl Default for FormatInformation {
|
||||
@@ -91,6 +92,7 @@ impl Default for FormatInformation {
|
||||
mask: 0,
|
||||
data: 255,
|
||||
bitsIndex: 255,
|
||||
rMQRVersion: 0,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -110,6 +112,7 @@ impl FormatInformation {
|
||||
mask: 0,
|
||||
bitsIndex: 255,
|
||||
data: 255,
|
||||
rMQRVersion: 0,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user