pub struct Table {
pub meta: NodeMeta,
pub alignments: Vec<TableAlignment>,
pub rows: Vec<TableRow>,
}Expand description
A GFM pipe table: a header row, an alignment row, then body rows. Source:
| a | b | / |---|---| / | 1 | 2 |.
Fields§
§meta: NodeMetaNode metadata (source span).
alignments: Vec<TableAlignment>Per-column alignment from the delimiter row.
rows: Vec<TableRow>All rows; the first is the header row.
Trait Implementations§
impl Eq for Table
impl StructuralPartialEq for Table
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnsafeUnpin for Table
impl UnwindSafe for Table
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