#[non_exhaustive]pub enum Border {
None,
Rounded,
Square,
}Expand description
How a Table is framed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No frame: a dotted rule under the header and space between columns. The default.
Rounded
A soft rounded frame around the whole table, with space (not lines) between columns.
Square
A grid: square corners and lines between every column, for when cells need edges.
Trait Implementations§
impl Copy for Border
impl Eq for Border
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Forget for Border
impl Freeze for Border
impl Move for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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