pub struct DataSquare {
pub square_row: Matrix3D,
pub square_col: Matrix3D,
pub width: usize,
pub original_width: usize,
pub chunk_size: usize,
pub row_roots: Matrix2D,
pub col_roots: Matrix2D,
pub codec: Box<dyn Codec>,
}Expand description
Store all data for an original data square (ODS) or extended data square (EDS). Data is duplicated in both row-major and column-major order in order to be able to provide zero-allocation column slices.
Fields§
§square_row: Matrix3D§square_col: Matrix3D§width: usize§original_width: usize§chunk_size: usize§row_roots: Matrix2D§col_roots: Matrix2D§codec: Box<dyn Codec>Implementations§
Auto Trait Implementations§
impl Freeze for DataSquare
impl !RefUnwindSafe for DataSquare
impl !Send for DataSquare
impl !Sync for DataSquare
impl Unpin for DataSquare
impl !UnwindSafe for DataSquare
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