Struct NodeTable
#[non_exhaustive]
pub struct NodeTable { pub alignments: Vec<TableAlignment>, pub num_columns: usize, pub num_rows: usize, pub num_nonempty_cells: usize }
The metadata of a table
Fields
alignments: Vec<TableAlignment>The table alignments
num_columns: usizeNumber of columns of the table
num_rows: usizeNumber of rows of the table
num_nonempty_cells: usizeNumber of non-empty, non-autocompleted cells
Implementations
impl NodeTable
fn new(alignments: Vec<TableAlignment>) -> SelfCreate a new
NodeTablewith the given alignments.
Trait Implementations
impl Clone for NodeTable
fn clone(&self) -> Self
impl Debug for NodeTable
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeTable
fn default() -> Self
impl Eq for NodeTable
impl PartialEq for NodeTable
fn eq(&self, other: &Self) -> bool