pub struct BoxChars {
pub tl: &'static str,
pub tr: &'static str,
pub bl: &'static str,
pub br: &'static str,
pub h: &'static str,
pub v: &'static str,
}Expand description
Box-drawing glyphs (rounded) and their ASCII fallbacks.
Fields§
§tl: &'static strTop-left corner.
tr: &'static strTop-right corner.
bl: &'static strBottom-left corner.
br: &'static strBottom-right corner.
h: &'static strHorizontal edge.
v: &'static strVertical edge.
Auto Trait Implementations§
impl Forget for BoxChars
impl Freeze for BoxChars
impl Move for BoxChars
impl RefUnwindSafe for BoxChars
impl Send for BoxChars
impl Sync for BoxChars
impl Unpin for BoxChars
impl UnsafeUnpin for BoxChars
impl UnwindSafe for BoxChars
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more