Struct ptree::print_config::StaticIndentChars [−][src]
pub struct StaticIndentChars { pub down_and_right: &'static str, pub down: &'static str, pub turn_right: &'static str, pub right: &'static str, pub empty: &'static str, }
Set of characters use to draw indentation lines (branches)
Fields
down_and_right: &'static str
Character for pointing down and right (├
).
down: &'static str
Character for pointing straight down (|
).
turn_right: &'static str
Character for turning from down to right (└
).
right: &'static str
Character for pointing right (─
).
empty: &'static str
Empty character ().
Trait Implementations
impl From<StaticIndentChars> for IndentChars
[src]
impl From<StaticIndentChars> for IndentChars
fn from(s: StaticIndentChars) -> IndentChars
[src]
fn from(s: StaticIndentChars) -> IndentChars
Performs the conversion.
impl Clone for StaticIndentChars
[src]
impl Clone for StaticIndentChars
fn clone(&self) -> StaticIndentChars
[src]
fn clone(&self) -> StaticIndentChars
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for StaticIndentChars
[src]
impl Copy for StaticIndentChars
impl Debug for StaticIndentChars
[src]
impl Debug for StaticIndentChars
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for StaticIndentChars
[src]
impl PartialEq for StaticIndentChars
fn eq(&self, other: &StaticIndentChars) -> bool
[src]
fn eq(&self, other: &StaticIndentChars) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StaticIndentChars) -> bool
[src]
fn ne(&self, other: &StaticIndentChars) -> bool
This method tests for !=
.
impl Eq for StaticIndentChars
[src]
impl Eq for StaticIndentChars
Auto Trait Implementations
impl Send for StaticIndentChars
impl Send for StaticIndentChars
impl Sync for StaticIndentChars
impl Sync for StaticIndentChars