pub enum Grid {
All,
Rows,
Cols,
None,
}Expand description
The borders drawn between the cells of a TableBlock.
The grid is set with the grid attribute on the table (or, document-wide,
the table-grid attribute). The default is All.
An unrecognized value falls back to All. (Asciidoctor instead
passes an unrecognized value straight through to a CSS class, which the
stylesheet ignores; this parser models only the four documented values.)
Variants§
All
A border is drawn between all cells (the all value). This is the
default grid.
Rows
A border is drawn between the rows of the table (the rows value).
Cols
A border is drawn between the columns of the table (the cols value).
None
No border is drawn between the cells (the none value).
Trait Implementations§
impl Copy for Grid
impl Eq for Grid
impl StructuralPartialEq for Grid
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnsafeUnpin for Grid
impl UnwindSafe for Grid
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