pub struct TableBlock {
pub span_range: Range<usize>,
pub cols: Vec<TableColumn>,
pub ident: TableIdent,
pub note: Option<NoteBlock>,
pub indexes: Option<IndexesBlock>,
pub settings: Option<TableSettings>,
}
Expand description
Represents a block of table.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
cols: Vec<TableColumn>
Columns or fields of the table.
ident: TableIdent
The identifier for the table.
note: Option<NoteBlock>
The note block associated with the table block.
indexes: Option<IndexesBlock>
The indexes block.
settings: Option<TableSettings>
The settings for the table.
Trait Implementations§
Source§impl Clone for TableBlock
impl Clone for TableBlock
Source§fn clone(&self) -> TableBlock
fn clone(&self) -> TableBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TableBlock
impl Debug for TableBlock
Source§impl Default for TableBlock
impl Default for TableBlock
Source§fn default() -> TableBlock
fn default() -> TableBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TableBlock
impl RefUnwindSafe for TableBlock
impl Send for TableBlock
impl Sync for TableBlock
impl Unpin for TableBlock
impl UnwindSafe for TableBlock
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