pub enum BorderType {
None,
Single,
Double,
Rounded,
Thick,
Ascii,
}Expand description
Border style characters
Variants§
None
No border
Single
Single line: ┌─┐│└┘
Double
Double line: ╔═╗║╚╝
Rounded
Rounded: ╭─╮│╰╯
Thick
Thick: ┏━┓┃┗┛
Ascii
ASCII: +-+|
Implementations§
Source§impl BorderType
impl BorderType
Sourcepub fn chars(&self) -> BorderChars
pub fn chars(&self) -> BorderChars
Get the character set for this border type
Trait Implementations§
Source§impl Clone for BorderType
impl Clone for BorderType
Source§fn clone(&self) -> BorderType
fn clone(&self) -> BorderType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BorderType
impl Debug for BorderType
Source§impl Default for BorderType
impl Default for BorderType
Source§fn default() -> BorderType
fn default() -> BorderType
Returns the “default value” for a type. Read more
Source§impl PartialEq for BorderType
impl PartialEq for BorderType
impl Copy for BorderType
impl Eq for BorderType
impl StructuralPartialEq for BorderType
Auto Trait Implementations§
impl Freeze for BorderType
impl RefUnwindSafe for BorderType
impl Send for BorderType
impl Sync for BorderType
impl Unpin for BorderType
impl UnsafeUnpin for BorderType
impl UnwindSafe for BorderType
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