[][src]Struct ptree::print_config::IndentChars

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 Debug for IndentChars[src]

impl<'de> Deserialize<'de> for IndentChars[src]

impl Eq for IndentChars[src]

impl From<StaticIndentChars> for IndentChars[src]

impl FromStr for IndentChars[src]

type Err = ()

The associated error which can be returned from parsing.

impl PartialEq<IndentChars> for IndentChars[src]

impl Serialize for IndentChars[src]

impl StructuralEq for IndentChars[src]

impl StructuralPartialEq for IndentChars[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.