[][src]Enum broot::display::Col

pub enum Col {
    Mark,
    Git,
    Branch,
    Permission,
    Date,
    Size,
    Count,
    Name,
}

One of the "columns" of the tree view

Variants

Mark

selection mark, typically a triangle on the selected line

Git

Git file status

Branch

the branch showing filliation

Permission

file mode and ownership

Date

last modified date

Size

file size, including size bar in sort_by_size mode

Count

number of files in the directory

Name

name of the file, or subpath if relevant due to filtering mode

Implementations

impl Col[src]

pub fn index_in(self, cols: &Cols) -> Option<usize>[src]

pub fn parse_cols(arr: &Vec<String>) -> Result<Cols, ConfError>[src]

return a Cols which tries to take the s setting into account but is guaranteed to have every Col exactly once.

pub fn parse_cols_single_str(s: &str) -> Result<Cols, ConfError>[src]

return a Cols which tries to take the s setting into account but is guaranteed to have every Col exactly once.

Trait Implementations

impl Clone for Col[src]

impl Copy for Col[src]

impl Debug for Col[src]

impl FromStr for Col[src]

type Err = ConfError

The associated error which can be returned from parsing.

impl PartialEq<Col> for Col[src]

impl StructuralPartialEq for Col[src]

Auto Trait Implementations

impl RefUnwindSafe for Col

impl Send for Col

impl Sync for Col

impl Unpin for Col

impl UnwindSafe for Col

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.