pub struct GridLayout {
pub cols_pos: Vec<usize>,
pub row_seps: Vec<usize>,
pub cells: Vec<GridCellRect>,
}Expand description
Canonical geometry of a grid table plus its detected cells.
Fields§
§cols_pos: Vec<usize>Character columns of the canonical vertical boundaries (the union of
+ positions across all sep-style lines). cols_pos.len() - 1 fine
columns.
row_seps: Vec<usize>Indices into the input lines of the sep-style lines (canonical row
boundaries). row_seps.len() - 1 row bands.
cells: Vec<GridCellRect>Trait Implementations§
Source§impl Clone for GridLayout
impl Clone for GridLayout
Source§fn clone(&self) -> GridLayout
fn clone(&self) -> GridLayout
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 moreAuto Trait Implementations§
impl Freeze for GridLayout
impl RefUnwindSafe for GridLayout
impl Send for GridLayout
impl Sync for GridLayout
impl Unpin for GridLayout
impl UnsafeUnpin for GridLayout
impl UnwindSafe for GridLayout
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