#[repr(transparent)]pub struct CIDataMatrixCodeECCVersion(pub NSInteger);CIBarcodeDescriptor only.Expand description
Constants indicating the Data Matrix code ECC version.
ECC 000 - 140 symbols offer five levels of error correction using convolutional code error correction. Each successive level or error correction offers more protection for the message data but increases the size of the symbol required to carry a given message. See the ISO/IEC 16022:2006 spec for other modes.
ECC 200 symbols utilize Reed-Solomon error correction. The error correction capacity for any given Data Matrix symbol is fixed by the size (in rows and columns) of the symbol. See Table 7 of ISO/IEC 16022:2006(E) for more details.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl CIDataMatrixCodeECCVersion
impl CIDataMatrixCodeECCVersion
Sourcepub const Version000: Self
pub const Version000: Self
Indicates error correction using convolutional code error correction with no data protection.
Sourcepub const Version050: Self
pub const Version050: Self
Indicates 1/4 of the symbol is dedicated to convolutional code error correction.
Sourcepub const Version080: Self
pub const Version080: Self
Indicates 1/3 of the symbol is dedicated to convolutional code error correction.
Sourcepub const Version100: Self
pub const Version100: Self
Indicates 1/2 of the symbol is dedicated to convolutional code error correction.
Sourcepub const Version140: Self
pub const Version140: Self
Indicates 3/4 of the symbol is dedicated to convolutional code error correction.
Sourcepub const Version200: Self
pub const Version200: Self
Indicates error correction using Reed-Solomon error correction. Data protection overhead varies based on symbol size.
Trait Implementations§
Source§impl Clone for CIDataMatrixCodeECCVersion
impl Clone for CIDataMatrixCodeECCVersion
Source§fn clone(&self) -> CIDataMatrixCodeECCVersion
fn clone(&self) -> CIDataMatrixCodeECCVersion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more