pub struct RowMatrixData { /* private fields */ }Expand description
A complete structured projection of a RowMatrix.
Cells are row-major and retain explicit coordinates. Source identity, operations, edge labels, and the selected convention travel with the data, so a consumer never has to infer matrix semantics from display text.
Implementations§
Source§impl RowMatrixData
impl RowMatrixData
Sourcepub const fn convention(&self) -> RowLabelConvention
pub const fn convention(&self) -> RowLabelConvention
Returns the convention used to derive the edge labels.
Sourcepub fn cells(&self) -> &[RowMatrixCell]
pub fn cells(&self) -> &[RowMatrixCell]
Returns the 144 coordinate-bearing cells in row-major order.
Sourcepub fn cell(&self, coordinate: MatrixCoordinate) -> &RowMatrixCell
pub fn cell(&self, coordinate: MatrixCoordinate) -> &RowMatrixCell
Returns a cell by its validated coordinate.
Sourcepub const fn row_operations(&self) -> &[RowOperation; 12]
pub const fn row_operations(&self) -> &[RowOperation; 12]
Returns the P operations for rows ordered top to bottom.
Sourcepub const fn column_operations(&self) -> &[RowOperation; 12]
pub const fn column_operations(&self) -> &[RowOperation; 12]
Returns the I operations for columns ordered left to right.
Sourcepub const fn edge_labels(&self) -> &RowMatrixEdgeLabels
pub const fn edge_labels(&self) -> &RowMatrixEdgeLabels
Returns all labels on the top, right, bottom, and left edges.
Trait Implementations§
Source§impl Clone for RowMatrixData
impl Clone for RowMatrixData
Source§fn clone(&self) -> RowMatrixData
fn clone(&self) -> RowMatrixData
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 RowMatrixData
impl Debug for RowMatrixData
impl Eq for RowMatrixData
Source§impl PartialEq for RowMatrixData
impl PartialEq for RowMatrixData
impl StructuralPartialEq for RowMatrixData
Auto Trait Implementations§
impl Freeze for RowMatrixData
impl RefUnwindSafe for RowMatrixData
impl Send for RowMatrixData
impl Sync for RowMatrixData
impl Unpin for RowMatrixData
impl UnsafeUnpin for RowMatrixData
impl UnwindSafe for RowMatrixData
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