Struct prototty::BorderChars
source · pub struct BorderChars {
pub top: char,
pub bottom: char,
pub left: char,
pub right: char,
pub top_left: char,
pub top_right: char,
pub bottom_left: char,
pub bottom_right: char,
pub before_title: char,
pub after_title: char,
}
Expand description
The characters comprising a border. By default, borders are made of unicode box-drawing characters, but they can be changed to arbitrary characters via this struct.
Fields
top: char
bottom: char
left: char
right: char
top_left: char
top_right: char
bottom_left: char
bottom_right: char
before_title: char
after_title: char
Trait Implementations
sourceimpl Clone for BorderChars
impl Clone for BorderChars
sourcefn clone(&self) -> BorderChars
fn clone(&self) -> BorderChars
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 BorderChars
impl Debug for BorderChars
sourceimpl Default for BorderChars
impl Default for BorderChars
sourcefn default() -> BorderChars
fn default() -> BorderChars
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for BorderChars
impl Send for BorderChars
impl Sync for BorderChars
impl Unpin for BorderChars
impl UnwindSafe for BorderChars
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