pub struct BorderSet {
pub top_left: char,
pub top_right: char,
pub bottom_left: char,
pub bottom_right: char,
pub horizontal: char,
pub vertical: char,
}Expand description
The six glyphs that make up a single-style box border.
Field names match position, not weight: border::PLAIN, border::ROUNDED,
border::DOUBLE, and border::THICK are all the same shape, drawn with different line
weights and corner styles.
Fields§
§top_left: charTop-left corner.
top_right: charTop-right corner.
bottom_left: charBottom-left corner.
bottom_right: charBottom-right corner.
horizontal: charHorizontal edge (top and bottom).
vertical: charVertical edge (left and right).
Trait Implementations§
impl Copy for BorderSet
impl Eq for BorderSet
impl StructuralPartialEq for BorderSet
Auto Trait Implementations§
impl Freeze for BorderSet
impl RefUnwindSafe for BorderSet
impl Send for BorderSet
impl Sync for BorderSet
impl Unpin for BorderSet
impl UnsafeUnpin for BorderSet
impl UnwindSafe for BorderSet
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