pub struct ContentLineStyle {
pub left: Option<char>,
pub junction: Option<char>,
pub right: Option<char>,
}Expand description
A styling rule for the lines of a table that contain content.
This could be the header lines or the content lines of normal rows.
A styling rule consists of three optional parts:
│ a ┆ b │
^ ^ ^
left junction rightleft/right are the border delimiters and junction is the vertical delimiter that’s
drawn between columns.
Fields§
§left: Option<char>§junction: Option<char>§right: Option<char>Implementations§
Source§impl ContentLineStyle
impl ContentLineStyle
Trait Implementations§
Source§impl Clone for ContentLineStyle
impl Clone for ContentLineStyle
Source§fn clone(&self) -> ContentLineStyle
fn clone(&self) -> ContentLineStyle
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 ContentLineStyle
Source§impl Debug for ContentLineStyle
impl Debug for ContentLineStyle
Source§impl Default for ContentLineStyle
impl Default for ContentLineStyle
Source§fn default() -> ContentLineStyle
fn default() -> ContentLineStyle
Returns the “default value” for a type. Read more
impl Eq for ContentLineStyle
Source§impl PartialEq for ContentLineStyle
impl PartialEq for ContentLineStyle
impl StructuralPartialEq for ContentLineStyle
Auto Trait Implementations§
impl Freeze for ContentLineStyle
impl RefUnwindSafe for ContentLineStyle
impl Send for ContentLineStyle
impl Sync for ContentLineStyle
impl Unpin for ContentLineStyle
impl UnsafeUnpin for ContentLineStyle
impl UnwindSafe for ContentLineStyle
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