#[repr(u32)]pub enum BarcodeFormat {
Show 44 variants
Invalid = 65_535,
None = 0,
All = 10_794,
AllReadable = 29_226,
AllCreatable = 30_506,
AllLinear = 27_690,
AllMatrix = 27_946,
AllGS1 = 18_218,
Codabar = 8_262,
Code39 = 8_257,
PZN = 28_737,
Code93 = 8_263,
Code128 = 8_259,
ITF = 8_265,
DataBar = 8_293,
DataBarOmni = 28_517,
DataBarStk = 29_541,
DataBarStkOmni = 20_325,
DataBarLtd = 27_749,
DataBarExp = 25_957,
DataBarExpStk = 17_765,
EANUPC = 8_261,
EAN13 = 12_613,
EAN8 = 14_405,
EAN5 = 13_637,
EAN2 = 12_869,
ISBN = 26_949,
UPCA = 24_901,
UPCE = 25_925,
OtherBarcode = 8_280,
DXFilmEdge = 30_808,
PDF417 = 8_268,
CompactPDF417 = 25_420,
MicroPDF417 = 27_980,
Aztec = 8_314,
AztecCode = 25_466,
AztecRune = 29_306,
QRCode = 8_273,
QRCodeModel1 = 12_625,
QRCodeModel2 = 12_881,
MicroQRCode = 27_985,
RMQRCode = 29_265,
DataMatrix = 8_292,
MaxiCode = 8_277,
}Variants§
Invalid = 65_535
None = 0
All = 10_794
AllReadable = 29_226
AllCreatable = 30_506
AllLinear = 27_690
AllMatrix = 27_946
AllGS1 = 18_218
Codabar = 8_262
Code39 = 8_257
PZN = 28_737
Code93 = 8_263
Code128 = 8_259
ITF = 8_265
DataBar = 8_293
DataBarOmni = 28_517
DataBarStk = 29_541
DataBarStkOmni = 20_325
DataBarLtd = 27_749
DataBarExp = 25_957
DataBarExpStk = 17_765
EANUPC = 8_261
EAN13 = 12_613
EAN8 = 14_405
EAN5 = 13_637
EAN2 = 12_869
ISBN = 26_949
UPCA = 24_901
UPCE = 25_925
OtherBarcode = 8_280
DXFilmEdge = 30_808
PDF417 = 8_268
CompactPDF417 = 25_420
MicroPDF417 = 27_980
Aztec = 8_314
AztecCode = 25_466
AztecRune = 29_306
QRCode = 8_273
QRCodeModel1 = 12_625
QRCodeModel2 = 12_881
MicroQRCode = 27_985
RMQRCode = 29_265
DataMatrix = 8_292
MaxiCode = 8_277
Implementations§
Source§impl BarcodeFormat
impl BarcodeFormat
pub fn symbology(self) -> BarcodeFormat
Trait Implementations§
Source§impl AsRef<[BarcodeFormat]> for BarcodeFormat
impl AsRef<[BarcodeFormat]> for BarcodeFormat
Source§fn as_ref(&self) -> &[BarcodeFormat]
fn as_ref(&self) -> &[BarcodeFormat]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for BarcodeFormat
impl Clone for BarcodeFormat
Source§fn clone(&self) -> BarcodeFormat
fn clone(&self) -> BarcodeFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BarcodeFormat
impl Debug for BarcodeFormat
Source§impl Display for BarcodeFormat
impl Display for BarcodeFormat
Source§impl FromStr for BarcodeFormat
impl FromStr for BarcodeFormat
Source§impl Ord for BarcodeFormat
impl Ord for BarcodeFormat
Source§fn cmp(&self, other: &BarcodeFormat) -> Ordering
fn cmp(&self, other: &BarcodeFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BarcodeFormat
impl PartialEq for BarcodeFormat
Source§impl PartialOrd for BarcodeFormat
impl PartialOrd for BarcodeFormat
impl Copy for BarcodeFormat
impl Eq for BarcodeFormat
impl StructuralPartialEq for BarcodeFormat
Auto Trait Implementations§
impl Freeze for BarcodeFormat
impl RefUnwindSafe for BarcodeFormat
impl Send for BarcodeFormat
impl Sync for BarcodeFormat
impl Unpin for BarcodeFormat
impl UnsafeUnpin for BarcodeFormat
impl UnwindSafe for BarcodeFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more