pub struct LineStyle {
pub left: Option<char>,
pub fill: Option<char>,
pub junction: Option<char>,
pub right: Option<char>,
}Expand description
A styling rule for a type of horizontal line of a table.
This could be, for example, the top border or the lines between rows.
A styling rule consists of four optional parts:
├╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┤
^ ^ ^ ^
left fill junction rightleft/right are the border delimiters, fill is the horizontal delimiter between rows and
junction is drawn where vertical and horizontal lines cross in the middle
Styles that’re wholly None won’t be drawn.
Fields§
§left: Option<char>§fill: Option<char>§junction: Option<char>§right: Option<char>Implementations§
Trait Implementations§
impl Copy for LineStyle
impl Eq for LineStyle
impl StructuralPartialEq for LineStyle
Auto Trait Implementations§
impl Freeze for LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnsafeUnpin for LineStyle
impl UnwindSafe for LineStyle
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