[][src]Struct broot::skin::StyleMap

pub struct StyleMap {
    pub default: CompoundStyle,
    pub tree: CompoundStyle,
    pub file: CompoundStyle,
    pub directory: CompoundStyle,
    pub exe: CompoundStyle,
    pub link: CompoundStyle,
    pub pruning: CompoundStyle,
    pub perm__: CompoundStyle,
    pub perm_r: CompoundStyle,
    pub perm_w: CompoundStyle,
    pub perm_x: CompoundStyle,
    pub owner: CompoundStyle,
    pub group: CompoundStyle,
    pub count: CompoundStyle,
    pub dates: CompoundStyle,
    pub sparse: CompoundStyle,
    pub content_extract: CompoundStyle,
    pub content_match: CompoundStyle,
    pub git_branch: CompoundStyle,
    pub git_insertions: CompoundStyle,
    pub git_deletions: CompoundStyle,
    pub git_status_current: CompoundStyle,
    pub git_status_modified: CompoundStyle,
    pub git_status_new: CompoundStyle,
    pub git_status_ignored: CompoundStyle,
    pub git_status_conflicted: CompoundStyle,
    pub git_status_other: CompoundStyle,
    pub selected_line: CompoundStyle,
    pub char_match: CompoundStyle,
    pub file_error: CompoundStyle,
    pub flag_label: CompoundStyle,
    pub flag_value: CompoundStyle,
    pub input: CompoundStyle,
    pub status_error: CompoundStyle,
    pub status_job: CompoundStyle,
    pub status_normal: CompoundStyle,
    pub status_italic: CompoundStyle,
    pub status_bold: CompoundStyle,
    pub status_code: CompoundStyle,
    pub status_ellipsis: CompoundStyle,
    pub purpose_normal: CompoundStyle,
    pub purpose_italic: CompoundStyle,
    pub purpose_bold: CompoundStyle,
    pub purpose_ellipsis: CompoundStyle,
    pub scrollbar_track: CompoundStyle,
    pub scrollbar_thumb: CompoundStyle,
    pub help_paragraph: CompoundStyle,
    pub help_bold: CompoundStyle,
    pub help_italic: CompoundStyle,
    pub help_code: CompoundStyle,
    pub help_headers: CompoundStyle,
    pub help_table_border: CompoundStyle,
}

a struct whose fields are the styles to apply to various parts/cases

Fields

default: CompoundStyletree: CompoundStylefile: CompoundStyledirectory: CompoundStyleexe: CompoundStylelink: CompoundStylepruning: CompoundStyleperm__: CompoundStyleperm_r: CompoundStyleperm_w: CompoundStyleperm_x: CompoundStyleowner: CompoundStylegroup: CompoundStylecount: CompoundStyledates: CompoundStylesparse: CompoundStylecontent_extract: CompoundStylecontent_match: CompoundStylegit_branch: CompoundStylegit_insertions: CompoundStylegit_deletions: CompoundStylegit_status_current: CompoundStylegit_status_modified: CompoundStylegit_status_new: CompoundStylegit_status_ignored: CompoundStylegit_status_conflicted: CompoundStylegit_status_other: CompoundStyleselected_line: CompoundStylechar_match: CompoundStylefile_error: CompoundStyleflag_label: CompoundStyleflag_value: CompoundStyleinput: CompoundStylestatus_error: CompoundStylestatus_job: CompoundStylestatus_normal: CompoundStylestatus_italic: CompoundStylestatus_bold: CompoundStylestatus_code: CompoundStylestatus_ellipsis: CompoundStylepurpose_normal: CompoundStylepurpose_italic: CompoundStylepurpose_bold: CompoundStylepurpose_ellipsis: CompoundStylescrollbar_track: CompoundStylescrollbar_thumb: CompoundStylehelp_paragraph: CompoundStylehelp_bold: CompoundStylehelp_italic: CompoundStylehelp_code: CompoundStylehelp_headers: CompoundStylehelp_table_border: CompoundStyle

Implementations

impl StyleMap[src]

pub fn no_term() -> Self[src]

build a skin without any terminal control character (for file output)

Trait Implementations

impl Clone for StyleMap[src]

impl Debug for StyleMap[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.