mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
steady working on qrcode encoder
This commit is contained in:
@@ -24,7 +24,7 @@ use super::Version;
|
||||
*
|
||||
* @author Sean Owen
|
||||
*/
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
|
||||
pub enum Mode {
|
||||
TERMINATOR, //(new int[]{0, 0, 0}, 0x00), // Not really a mode...
|
||||
NUMERIC, //(new int[]{10, 12, 14}, 0x01),
|
||||
|
||||
@@ -22,6 +22,8 @@ use super::{ErrorCorrectionLevel, FormatInformation};
|
||||
|
||||
use lazy_static::lazy_static;
|
||||
|
||||
pub type VersionRef = &'static Version;
|
||||
|
||||
lazy_static! {
|
||||
static ref VERSIONS: Vec<Version> = Version::buildVersions();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user