[][src]Enum text_trees::TreeOrientation

pub enum TreeOrientation {
    TopDown,
}

This denotes the orientation of the tree as it is written.

Variants

TopDown

This writes a tree with the root node at the top-left corner and the tree expanding out to the right and down. This is often called a directory tree as it is useful in showing file-system hierarchy.

Example

root
+-- Uncle
+-- Parent
|  +-- Child 1
|  |  '-- Grand Child 1
|  '-- Child 2
|     '-- Grand Child 2
|        '-- Great Grand Child 2
|           '-- Great Great Grand Child 2
'-- Aunt
'-- Child 3

Trait Implementations

impl Clone for TreeOrientation[src]

impl Debug for TreeOrientation[src]

impl PartialEq<TreeOrientation> for TreeOrientation[src]

impl StructuralPartialEq for TreeOrientation[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> 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.