pub enum Frame {
All,
Ends,
Sides,
None,
}Expand description
The border drawn around a TableBlock.
The frame is set with the frame attribute on the table (or, document-wide,
the table-frame 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 on every side of the table (the all value). This is
the default frame.
Ends
A border is drawn on the top and bottom of the table (the ends value).
The topbot value recognized by older versions of AsciiDoc is accepted
as a synonym.
Sides
A border is drawn on the left and right sides of the table (the sides
value).
None
No border is drawn around the table (the none value).
Trait Implementations§
impl Copy for Frame
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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