pub struct Border {
pub left: char,
pub right: char,
pub top: char,
pub bottom: char,
pub top_left: char,
pub top_right: char,
pub bottom_left: char,
pub bottom_right: char,
}Expand description
Characters used to draw a rectangular border.
Fields§
§left: charCharacter drawn on the left edge.
right: charCharacter drawn on the right edge.
top: charCharacter drawn on the top edge.
bottom: charCharacter drawn on the bottom edge.
top_left: charCharacter drawn at the top-left corner.
top_right: charCharacter drawn at the top-right corner.
bottom_left: charCharacter drawn at the bottom-left corner.
bottom_right: charCharacter drawn at the bottom-right corner.
Implementations§
Trait Implementations§
impl Copy for Border
impl Eq for Border
impl StructuralPartialEq for Border
Auto Trait Implementations§
impl Freeze for Border
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnsafeUnpin for Border
impl UnwindSafe for Border
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.