mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 12:52:34 +00:00
many small rustifications
This commit is contained in:
@@ -52,14 +52,14 @@ impl DetectorRXingResult for AztecDetectorRXingResult {
|
||||
impl AztecDetectorRXingResult {
|
||||
pub fn new(
|
||||
bits: BitMatrix,
|
||||
points: Vec<RXingResultPoint>,
|
||||
points: [RXingResultPoint; 4],
|
||||
compact: bool,
|
||||
nbDatablocks: u32,
|
||||
nbLayers: u32,
|
||||
) -> Self {
|
||||
Self {
|
||||
bits,
|
||||
points,
|
||||
points: points.to_vec(),
|
||||
compact,
|
||||
nbDatablocks,
|
||||
nbLayers,
|
||||
|
||||
Reference in New Issue
Block a user