Enum billboard::BorderStyle
source · pub enum BorderStyle {
Single,
Double,
Round,
Bold,
SingleDouble,
DoubleSingle,
Classic,
Custom(BorderComponents),
}
Expand description
Different styles for the border of a Billboard
.
Variants
Single
Border with a single line:
┌───┐
│box│
└───┘
Double
Border with a double line:
╔═══╗
║box║
╚═══╝
Round
Border with a rounded line:
╭───╮
│box│
╰───╯
Bold
Border with a bolded single line:
┏━━━┓
┃box┃
┗━━━┛
SingleDouble
Border with a single line on the top and bottom and a double line on the left and right:
╓───╖
║box║
╙───╜
DoubleSingle
Border with a double line on the top and bottom and a single line on the left and right:
╒═══╕
│box│
╘═══╛
Classic
Border with +
on the corners, |
on the left and right
and -
on the top:
+---+
|box|
+---+
Custom(BorderComponents)
Border with custom BorderComponents
.
Trait Implementations
sourceimpl Clone for BorderStyle
impl Clone for BorderStyle
sourcefn clone(&self) -> BorderStyle
fn clone(&self) -> BorderStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BorderStyle
impl Debug for BorderStyle
sourceimpl PartialEq<BorderStyle> for BorderStyle
impl PartialEq<BorderStyle> for BorderStyle
sourcefn eq(&self, other: &BorderStyle) -> bool
fn eq(&self, other: &BorderStyle) -> bool
impl StructuralPartialEq for BorderStyle
Auto Trait Implementations
impl RefUnwindSafe for BorderStyle
impl Send for BorderStyle
impl Sync for BorderStyle
impl Unpin for BorderStyle
impl UnwindSafe for BorderStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more