pub enum BoxLines {
Single,
Double,
Heavy,
Simple,
Rounded,
Padded,
None,
}Expand description
Border drawing variants accepted by tmux *-border-lines options.
Variants§
Single
Single-line Unicode borders.
Double
Double-line Unicode borders.
Heavy
Heavy Unicode borders.
Simple
ASCII borders.
Rounded
Rounded corners with single-line sides.
Padded
Whitespace-only borders.
None
No border.
Implementations§
Source§impl BoxLines
impl BoxLines
Sourcepub const fn horizontal(self) -> char
pub const fn horizontal(self) -> char
Returns the horizontal border glyph.
Sourcepub const fn bottom_left(self) -> char
pub const fn bottom_left(self) -> char
Returns the bottom-left corner glyph.
Sourcepub const fn bottom_right(self) -> char
pub const fn bottom_right(self) -> char
Returns the bottom-right corner glyph.
Sourcepub const fn bottom_join(self) -> char
pub const fn bottom_join(self) -> char
Returns the bottom separator join glyph.
Sourcepub const fn right_join(self) -> char
pub const fn right_join(self) -> char
Returns the right separator join glyph.
Trait Implementations§
impl Copy for BoxLines
impl Eq for BoxLines
impl StructuralPartialEq for BoxLines
Auto Trait Implementations§
impl Freeze for BoxLines
impl RefUnwindSafe for BoxLines
impl Send for BoxLines
impl Sync for BoxLines
impl Unpin for BoxLines
impl UnsafeUnpin for BoxLines
impl UnwindSafe for BoxLines
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