#[non_exhaustive]pub enum RowSeparation {
None,
Rule,
Blank,
}Available on crate feature
render only.Expand description
What separates consecutive rows of a table.
The separator goes between rows only. It is never drawn above the first row, below the last, or between the header and the first row.
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
Rows print on consecutive lines.
Rule
A horizontal rule between each pair of rows, as wide as the table.
Blank
A blank row between each pair of rows. In a grid it keeps the column rules.
Trait Implementations§
Source§impl Clone for RowSeparation
impl Clone for RowSeparation
Source§fn clone(&self) -> RowSeparation
fn clone(&self) -> RowSeparation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RowSeparation
Source§impl Debug for RowSeparation
impl Debug for RowSeparation
Source§impl Default for RowSeparation
impl Default for RowSeparation
Source§fn default() -> RowSeparation
fn default() -> RowSeparation
Returns the “default value” for a type. Read more
impl Eq for RowSeparation
Source§impl Hash for RowSeparation
impl Hash for RowSeparation
Source§impl PartialEq for RowSeparation
impl PartialEq for RowSeparation
impl StructuralPartialEq for RowSeparation
Auto Trait Implementations§
impl Forget for RowSeparation
impl Freeze for RowSeparation
impl RefUnwindSafe for RowSeparation
impl Send for RowSeparation
impl Sync for RowSeparation
impl Unpin for RowSeparation
impl UnsafeUnpin for RowSeparation
impl UnwindSafe for RowSeparation
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