mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
cargo fmt
This commit is contained in:
@@ -25,7 +25,7 @@ use crate::Exceptions;
|
||||
*
|
||||
* @author Alex Geller
|
||||
*/
|
||||
pub trait ECIInput:Display {
|
||||
pub trait ECIInput: Display {
|
||||
/**
|
||||
* Returns the length of this input. The length is the number
|
||||
* of {@code byte}s in or ECIs in the sequence.
|
||||
|
||||
@@ -1241,7 +1241,7 @@ impl Edge {
|
||||
if self.input.isECI(self.fromPosition)? {
|
||||
return Ok(Self::getBytes2(
|
||||
241,
|
||||
self.input.getECIValue(self.fromPosition as usize)? as u32+ 1,
|
||||
self.input.getECIValue(self.fromPosition as usize)? as u32 + 1,
|
||||
));
|
||||
} else if isExtendedASCII(
|
||||
self.input.charAt(self.fromPosition as usize)?,
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
|
||||
|
||||
mod pdf_417_detector_result;
|
||||
pub use pdf_417_detector_result::*;
|
||||
|
||||
pub mod detector;
|
||||
pub mod detector;
|
||||
|
||||
@@ -14,15 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Represents possible PDF417 barcode compaction types.
|
||||
*/
|
||||
pub enum Compaction {
|
||||
|
||||
AUTO=0,
|
||||
TEXT=1,
|
||||
BYTE=2,
|
||||
NUMERIC=3
|
||||
|
||||
AUTO = 0,
|
||||
TEXT = 1,
|
||||
BYTE = 2,
|
||||
NUMERIC = 3,
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
mod compaction;
|
||||
pub use compaction::*;
|
||||
|
||||
@@ -9,7 +8,7 @@ mod barcode_batrix;
|
||||
pub use barcode_batrix::*;
|
||||
|
||||
mod dimensions;
|
||||
pub use dimensions::*;
|
||||
pub use dimensions::*;
|
||||
|
||||
pub mod pdf_417_error_correction;
|
||||
pub mod pdf_417_high_level_encoder;
|
||||
pub mod pdf_417_high_level_encoder;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,4 +2,4 @@ pub mod decoder;
|
||||
pub mod detector;
|
||||
pub mod encoder;
|
||||
|
||||
pub mod pdf_417_common;
|
||||
pub mod pdf_417_common;
|
||||
|
||||
Reference in New Issue
Block a user