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: usize

Number of columns of the table

num_rows: usize

Number of rows of the table

num_nonempty_cells: usize

Number of non-empty, non-autocompleted cells

Implementations

impl NodeTable

fn new(alignments: Vec<TableAlignment>) -> Self

Create a new NodeTable with 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

impl StructuralPartialEq for NodeTable

Auto Trait Implementations

impl Freeze for NodeTable

impl RefUnwindSafe for NodeTable

impl Send for NodeTable

impl Sync for NodeTable

impl Unpin for NodeTable

impl UnsafeUnpin for NodeTable

impl UnwindSafe for NodeTable

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for NodeTable where T: SimdFrom<F, S>, S: Simd,

impl<T> Any for NodeTable where T: 'static + ?Sized,

impl<T> Borrow<T> for NodeTable where T: ?Sized,

impl<T> BorrowMut<T> for NodeTable where T: ?Sized,

impl<T> CloneToUninit for NodeTable where T: Clone,

impl<T> From<T> for NodeTable

impl<T> ToOwned for NodeTable where T: Clone,

impl<T, S> SimdFrom<T, S> for NodeTable where S: Simd,

impl<T, U> Into<U> for NodeTable where U: From<T>,

impl<T, U> TryFrom<U> for NodeTable where U: Into<T>,

impl<T, U> TryInto<U> for NodeTable where U: TryFrom<T>,