pub enum Col {
Mark,
Git,
Branch,
DeviceId,
Permission,
Date,
Size,
Count,
Staged,
Name,
}
Expand description
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
DeviceId
The filesystem’s device id (unix only)
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
Staged
marks whether the path is staged (not used for now, may be removed)
Name
name of the file, or subpath if relevant due to filtering mode
Implementations
return the index of the column among the complete Cols ordered list
tell whether this column should have an empty character left
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Col
impl UnwindSafe for Col
Blanket Implementations
Mutably borrows from an owned value. Read more