pub struct Box {
pub top: Line,
pub head: Line,
pub mid: Line,
pub bottom: Line,
pub header: Line,
pub cell: Line,
}Expand description
A structure defining the characters used to draw a box.
A box is composed of a top, middle (for rows/sections), and bottom part. Each part has a left, middle, right, and cross/divider character.
Fields§
§top: LineTop line
head: LineHeader separator line
mid: LineMiddle line (row separator)
bottom: LineBottom line
header: LineHeader row vertical lines
cell: LineContent row vertical lines
Trait Implementations§
impl Copy for Box
impl Eq for Box
impl StructuralPartialEq for Box
Auto Trait Implementations§
impl Freeze for Box
impl RefUnwindSafe for Box
impl Send for Box
impl Sync for Box
impl Unpin for Box
impl UnwindSafe for Box
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