pub struct GridMatrixMeta {
pub version: Version,
pub ec_level: EcLevel,
pub modes: Vec<GmMode>,
}Expand description
Grid Matrix parameters needed to re-encode a symbol identically (lossless round-trip).
Fields§
§version: VersionSymbol version (1–13), which fixes the module size.
ec_level: EcLevelReed–Solomon error-correction level.
modes: Vec<GmMode>The Grid Matrix encodation mode of each data segment, in symbol order.
Parallel to crate::Symbol::segments.
Trait Implementations§
Source§impl Clone for GridMatrixMeta
impl Clone for GridMatrixMeta
Source§fn clone(&self) -> GridMatrixMeta
fn clone(&self) -> GridMatrixMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GridMatrixMeta
impl Debug for GridMatrixMeta
Source§impl Default for GridMatrixMeta
impl Default for GridMatrixMeta
impl Eq for GridMatrixMeta
Source§impl PartialEq for GridMatrixMeta
impl PartialEq for GridMatrixMeta
impl StructuralPartialEq for GridMatrixMeta
Auto Trait Implementations§
impl Freeze for GridMatrixMeta
impl RefUnwindSafe for GridMatrixMeta
impl Send for GridMatrixMeta
impl Sync for GridMatrixMeta
impl Unpin for GridMatrixMeta
impl UnsafeUnpin for GridMatrixMeta
impl UnwindSafe for GridMatrixMeta
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