Struct diagnostic::DrawElements
source · pub struct DrawElements {Show 19 fields
pub hbar: char,
pub vbar: char,
pub xbar: char,
pub vbar_break: char,
pub vbar_gap: char,
pub uarrow: char,
pub rarrow: char,
pub ltop: char,
pub mtop: char,
pub rtop: char,
pub lbot: char,
pub rbot: char,
pub mbot: char,
pub lbox: char,
pub rbox: char,
pub lcross: char,
pub rcross: char,
pub underbar: char,
pub underline: char,
}Expand description
The character set used by formatter
Fields§
§hbar: charHorizontal bar, eg: ─, -
vbar: charVertical bar, eg: │, |
xbar: charCross bar, eg: ┼, +
vbar_break: charVertical bar break, eg: ┆, *
vbar_gap: charVertical bar gap, eg: ┆, :
uarrow: charUp arrow, eg: 🭯, ^
rarrow: charRight arrow, eg: ▶, >
ltop: charLeft top corner, eg: ╭, ,
mtop: charMiddle top, eg: ┬, v
rtop: charRight top corner, eg: ╮, .
lbot: charLeft bottom corner, eg: `╰, ``
rbot: charMiddle bottom, eg: ┴, ^
mbot: charRight bottom corner, eg: ╯, '
lbox: charLeft box, eg: [
rbox: charRight box, eg: ]
lcross: charLeft cross, eg: ├, |
rcross: charRight cross, eg: ┤, |
underbar: charUnder bar, eg: ┬, |
underline: charUnderline, eg: ─, ^
Trait Implementations§
source§impl Clone for DrawElements
impl Clone for DrawElements
source§fn clone(&self) -> DrawElements
fn clone(&self) -> DrawElements
Returns a copy 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 DrawElements
impl Debug for DrawElements
source§impl PartialEq for DrawElements
impl PartialEq for DrawElements
source§fn eq(&self, other: &DrawElements) -> bool
fn eq(&self, other: &DrawElements) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DrawElements
impl Eq for DrawElements
impl StructuralPartialEq for DrawElements
Auto Trait Implementations§
impl RefUnwindSafe for DrawElements
impl Send for DrawElements
impl Sync for DrawElements
impl Unpin for DrawElements
impl UnwindSafe for DrawElements
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