pub struct Border {
pub top: char,
pub bottom: char,
pub left: char,
pub right: char,
pub top_left: char,
pub top_right: char,
pub bottom_left: char,
pub bottom_right: char,
}Expand description
The characters used to draw a box border.
Presets cover the common box-drawing styles; custom borders can be built with struct literal syntax by supplying the four edges and four corners. All characters are assumed to be one terminal cell wide.
Fields§
§top: char§bottom: char§left: char§right: char§top_left: char§top_right: char§bottom_left: char§bottom_right: charImplementations§
Trait Implementations§
impl Copy for Border
impl Eq for Border
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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