pub enum TableStyle {
Compact,
Align,
Preserve,
}Expand description
GFM table canonicalisation policy.
Variants§
Compact
Trim source cell padding and emit one conventional space on each side of each cell.
Align
Pad cells and delimiter rows to display-width-aligned columns.
Preserve
Keep source table spacing.
Trait Implementations§
Source§impl Clone for TableStyle
impl Clone for TableStyle
Source§fn clone(&self) -> TableStyle
fn clone(&self) -> TableStyle
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 moreSource§impl Debug for TableStyle
impl Debug for TableStyle
Source§impl PartialEq for TableStyle
impl PartialEq for TableStyle
Source§fn eq(&self, other: &TableStyle) -> bool
fn eq(&self, other: &TableStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TableStyle
impl Eq for TableStyle
impl StructuralPartialEq for TableStyle
Auto Trait Implementations§
impl Freeze for TableStyle
impl RefUnwindSafe for TableStyle
impl Send for TableStyle
impl Sync for TableStyle
impl Unpin for TableStyle
impl UnsafeUnpin for TableStyle
impl UnwindSafe for TableStyle
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