Struct NodeTable
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
Trait Implementations
impl Clone for NodeTable
fn clone(&self) -> NodeTable
impl Debug for NodeTable
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for NodeTable
fn default() -> NodeTable
impl Eq for NodeTable
impl PartialEq for NodeTable
fn eq(&self, other: &NodeTable) -> 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<T> Any for NodeTable
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for NodeTable
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for NodeTable
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for NodeTable
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for NodeTable
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for NodeTable
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for NodeTable
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for NodeTable
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for NodeTable
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>