pdf_417_reader port

This commit is contained in:
Henry Schimke
2022-12-26 12:22:28 -06:00
parent 9d215d9f99
commit 0061fdd900
6 changed files with 210 additions and 141 deletions

View File

@@ -16,6 +16,10 @@
//package com.google.zxing;
use std::{any::Any, rc::Rc};
use crate::pdf417::PDF417RXingResultMetadata;
/**
* Represents some type of metadata about the result of the decoding that the decoder
* wishes to communicate back to the caller.
@@ -180,7 +184,7 @@ pub enum RXingResultMetadataValue {
/**
* PDF417-specific metadata
*/
Pdf417ExtraMetadata(String),
Pdf417ExtraMetadata(Rc<PDF417RXingResultMetadata>),
/**
* If the code format supports structured append and the current scanned code is part of one then the