[][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]

return the index of the column among the complete Cols ordered list

pub fn needs_left_margin(self) -> bool[src]

tell whether this column should have an empty character left

pub fn is_visible(self, tree: &Tree) -> bool[src]

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

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> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,