pub struct TableConfig {
pub columns: Vec<String>,
pub anchor: Option<String>,
pub min_rows: Option<f64>,
pub cells: Vec<(String, Schema)>,
pub extra_columns: ExtraColumns,
}Expand description
A table(...) leaf’s content config — the TS TableConfig.
Fields§
§columns: Vec<String>the column headings the table must have (their order is not checked)
anchor: Option<String>parsed for parity with TS and unused; a table is bound to an anchor by its
SectionContent::Anchored key
min_rows: Option<f64>the fewest body rows allowed
cells: Vec<(String, Schema)>per-column typed cells, in declaration order
extra_columns: ExtraColumnswhat to do with columns the contract does not name
Trait Implementations§
Source§impl Clone for TableConfig
impl Clone for TableConfig
Source§impl Debug for TableConfig
impl Debug for TableConfig
Auto Trait Implementations§
impl Freeze for TableConfig
impl RefUnwindSafe for TableConfig
impl Send for TableConfig
impl Sync for TableConfig
impl Unpin for TableConfig
impl UnsafeUnpin for TableConfig
impl UnwindSafe for TableConfig
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