Enum datamatrix::SymbolSize[][src]

pub enum SymbolSize {
    Square10,
    Square12,
    Square14,
    Square16,
    Square18,
    Square20,
    Square22,
    Square24,
    Square26,
    Square32,
    Square36,
    Square40,
    Square44,
    Square48,
    Square52,
    Square64,
    Square72,
    Square80,
    Square88,
    Square96,
    Square104,
    Square120,
    Square132,
    Square144,
    Rect8x18,
    Rect8x32,
    Rect12x26,
    Rect12x36,
    Rect16x36,
    Rect16x48,
    Min,
    MinRect,
    MinSquare,
}

The symbol sizes supported by DataMatrix.

The number behind a variant, e.g., Square10, describes the number of modules (the tiny black squares) the symbol is wide/tall.

Variants

Square10
Square12
Square14
Square16
Square18
Square20
Square22
Square24
Square26
Square32
Square36
Square40
Square44
Square48
Square52
Square64
Square72
Square80
Square88
Square96
Square104
Square120
Square132
Square144
Rect8x18
Rect8x32
Rect12x26
Rect12x36
Rect16x36
Rect16x48
Min

If chosen, the library automatically picks the smallest symbol which can fit the data.

MinRect

Similar to Min but limits to considered symbols only to non-square ones.

MinSquare

Similar to Min but limits to considered symbols only to square ones.

Trait Implementations

impl Clone for SymbolSize[src]

impl Copy for SymbolSize[src]

impl Debug for SymbolSize[src]

impl PartialEq<SymbolSize> for SymbolSize[src]

impl StructuralPartialEq for SymbolSize[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.