pub struct BorderChars {
pub tl: char,
pub tr: char,
pub bl: char,
pub br: char,
pub h: char,
pub v: char,
}Expand description
Character set for a specific border style.
Returned by Border::chars. Contains the six box-drawing characters
needed to render a complete border: four corners and two line segments.
Fields§
§tl: charTop-left corner character.
tr: charTop-right corner character.
bl: charBottom-left corner character.
br: charBottom-right corner character.
h: charHorizontal line character.
v: charVertical line character.
Trait Implementations§
Source§impl Clone for BorderChars
impl Clone for BorderChars
Source§fn clone(&self) -> BorderChars
fn clone(&self) -> BorderChars
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 BorderChars
impl Debug for BorderChars
Source§impl Hash for BorderChars
impl Hash for BorderChars
Source§impl PartialEq for BorderChars
impl PartialEq for BorderChars
impl Copy for BorderChars
impl Eq for BorderChars
impl StructuralPartialEq for BorderChars
Auto Trait Implementations§
impl Freeze for BorderChars
impl RefUnwindSafe for BorderChars
impl Send for BorderChars
impl Sync for BorderChars
impl Unpin for BorderChars
impl UnsafeUnpin for BorderChars
impl UnwindSafe for BorderChars
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