pub enum ColumnSpecEntry {
WithContent {
alignment: ColumnAlignment,
border_right: Option<LineType>,
},
OnlyLine(LineType),
}Expand description
A column spec is the result of parsing a column specifier, like {|c|l|} for an array.
Each entry can either be a column with content (with an alignment and an optional line to the
right), or a column that is just a line (with no content).
Variants§
Trait Implementations§
Source§impl Clone for ColumnSpecEntry
impl Clone for ColumnSpecEntry
Source§fn clone(&self) -> ColumnSpecEntry
fn clone(&self) -> ColumnSpecEntry
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 ColumnSpecEntry
Source§impl Debug for ColumnSpecEntry
impl Debug for ColumnSpecEntry
Source§impl PartialEq for ColumnSpecEntry
impl PartialEq for ColumnSpecEntry
Source§fn eq(&self, other: &ColumnSpecEntry) -> bool
fn eq(&self, other: &ColumnSpecEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnSpecEntry
Auto Trait Implementations§
impl Freeze for ColumnSpecEntry
impl RefUnwindSafe for ColumnSpecEntry
impl Send for ColumnSpecEntry
impl Sync for ColumnSpecEntry
impl Unpin for ColumnSpecEntry
impl UnsafeUnpin for ColumnSpecEntry
impl UnwindSafe for ColumnSpecEntry
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