pub enum SymbolSize {
Show 48 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,
Rect8x48,
Rect8x64,
Rect8x80,
Rect8x96,
Rect8x120,
Rect8x144,
Rect12x64,
Rect12x88,
Rect16x64,
Rect20x36,
Rect20x44,
Rect20x64,
Rect22x48,
Rect24x48,
Rect24x64,
Rect26x40,
Rect26x48,
Rect26x64,
}
Expand description
The symbol sizes supported by Data Matrix.
The number behind a variant, e.g., Square10, describes the number of modules (the tiny black squares) the symbol is tall/wide.
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
Rect8x48
DMRE 8x48 variant
Rect8x64
DMRE 8x64 variant
Rect8x80
DMRE 8x80 variant
Rect8x96
DMRE 8x96 variant
Rect8x120
DMRE 8x120 variant
Rect8x144
DMRE 8x144 variant
Rect12x64
DMRE 12x64 variant
Rect12x88
DMRE 12x88 variant
Rect16x64
DMRE 16x64 variant
Rect20x36
DMRE 20x36 variant
Rect20x44
DMRE 20x44 variant
Rect20x64
DMRE 20x64 variant
Rect22x48
DMRE 22x48 variant
Rect24x48
DMRE 24x48 variant
Rect24x64
DMRE 24x64 variant
Rect26x40
DMRE 26x40 variant
Rect26x48
DMRE 26x48 variant
Rect26x64
DMRE 26x64 variant
Implementations§
Trait Implementations§
Source§impl Clone for SymbolSize
impl Clone for SymbolSize
Source§fn clone(&self) -> SymbolSize
fn clone(&self) -> SymbolSize
Returns a copy 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 SymbolSize
impl Debug for SymbolSize
Source§impl Extend<SymbolSize> for SymbolList
impl Extend<SymbolSize> for SymbolList
Source§fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = SymbolSize>,
fn extend<T>(&mut self, iter: T)where
T: IntoIterator<Item = SymbolSize>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<SymbolSize> for SymbolList
impl From<SymbolSize> for SymbolList
Source§fn from(size: SymbolSize) -> SymbolList
fn from(size: SymbolSize) -> SymbolList
Converts to this type from the input type.
Source§impl FromIterator<SymbolSize> for SymbolList
impl FromIterator<SymbolSize> for SymbolList
Source§fn from_iter<T: IntoIterator<Item = SymbolSize>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = SymbolSize>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Ord for SymbolSize
impl Ord for SymbolSize
Source§impl PartialEq for SymbolSize
impl PartialEq for SymbolSize
Source§impl PartialOrd for SymbolSize
impl PartialOrd for SymbolSize
impl Copy for SymbolSize
impl Eq for SymbolSize
impl StructuralPartialEq for SymbolSize
Auto Trait Implementations§
impl Freeze for SymbolSize
impl RefUnwindSafe for SymbolSize
impl Send for SymbolSize
impl Sync for SymbolSize
impl Unpin for SymbolSize
impl UnwindSafe for SymbolSize
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