Struct ptree::print_config::IndentChars [−][src]
pub struct IndentChars { pub down_and_right: String, pub down: String, pub turn_right: String, pub right: String, pub empty: String, }
Set of characters use to draw indentation lines (branches)
Fields
down_and_right: String
Character for pointing down and right (├
).
down: String
Character for pointing straight down (|
).
turn_right: String
Character for turning from down to right (└
).
right: String
Character for pointing right (─
).
empty: String
Empty character ().
Trait Implementations
impl Clone for IndentChars
[src]
impl Clone for IndentChars
fn clone(&self) -> IndentChars
[src]
fn clone(&self) -> IndentChars
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 Debug for IndentChars
[src]
impl Debug for IndentChars
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 IndentChars
[src]
impl PartialEq for IndentChars
fn eq(&self, other: &IndentChars) -> bool
[src]
fn eq(&self, other: &IndentChars) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IndentChars) -> bool
[src]
fn ne(&self, other: &IndentChars) -> bool
This method tests for !=
.
impl Eq for IndentChars
[src]
impl Eq for IndentChars
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 FromStr for IndentChars
[src]
impl FromStr for IndentChars
Auto Trait Implementations
impl Send for IndentChars
impl Send for IndentChars
impl Sync for IndentChars
impl Sync for IndentChars