Enum rxing::BarcodeFormat

source ·
pub enum BarcodeFormat {
Show 18 variants AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, UPC_EAN_EXTENSION, UNSUPORTED_FORMAT,
}
Expand description

Enumerates barcode formats known to this package. Please keep alphabetized.

@author Sean Owen

Variants§

§

AZTEC

Aztec 2D barcode format.

§

CODABAR

CODABAR 1D format.

§

CODE_39

Code 39 1D format.

§

CODE_93

Code 93 1D format.

§

CODE_128

Code 128 1D format.

§

DATA_MATRIX

Data Matrix 2D barcode format.

§

EAN_8

EAN-8 1D format.

§

EAN_13

EAN-13 1D format.

§

ITF

ITF (Interleaved Two of Five) 1D format.

§

MAXICODE

MaxiCode 2D barcode format.

§

PDF_417

PDF417 format.

§

QR_CODE

QR Code 2D barcode format.

§

RSS_14

RSS 14

§

RSS_EXPANDED

RSS EXPANDED

§

UPC_A

UPC-A 1D format.

§

UPC_E

UPC-E 1D format.

§

UPC_EAN_EXTENSION

UPC/EAN extension format. Not a stand-alone format.

§

UNSUPORTED_FORMAT

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
The error type produced by a failed conversion.
Convert the given value into an approximately equivalent representation.
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
Approximate the subject to a given type with a specific scheme.
Convert the subject to a given type.
Attempt to convert the subject to a given type.
Attempt a value conversion of the subject to a given type.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The error type produced by a failed conversion.
Convert the given value into the subject type.
The type returned in the event of a conversion error.
Performs the conversion.
The error type produced by a failed conversion.
Convert the subject into the destination type.
The type returned in the event of a conversion error.
Performs the conversion.
The error type produced by a failed conversion.
Convert the given value into an exactly equivalent representation.
The error type produced by a failed conversion.
Convert the subject into an exactly equivalent representation.