pub struct StyleMap {Show 67 fields
pub default: CompoundStyle,
pub tree: CompoundStyle,
pub parent: 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 device_id_major: CompoundStyle,
pub device_id_sep: CompoundStyle,
pub device_id_minor: 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,
pub preview: CompoundStyle,
pub preview_title: CompoundStyle,
pub preview_line_number: CompoundStyle,
pub preview_match: CompoundStyle,
pub hex_null: CompoundStyle,
pub hex_ascii_graphic: CompoundStyle,
pub hex_ascii_whitespace: CompoundStyle,
pub hex_ascii_other: CompoundStyle,
pub hex_non_ascii: CompoundStyle,
pub staging_area_title: CompoundStyle,
pub mode_command_mark: CompoundStyle,
/* private fields */
}
Expand description
a struct whose fields are
- a boolean telling whether it’s a no-style map
- the styles to apply to various parts/cases
Fields
default: CompoundStyle
tree: CompoundStyle
parent: CompoundStyle
file: CompoundStyle
directory: CompoundStyle
exe: CompoundStyle
link: CompoundStyle
pruning: CompoundStyle
perm__: CompoundStyle
perm_r: CompoundStyle
perm_w: CompoundStyle
perm_x: CompoundStyle
owner: CompoundStyle
group: CompoundStyle
count: CompoundStyle
dates: CompoundStyle
sparse: CompoundStyle
content_extract: CompoundStyle
content_match: CompoundStyle
device_id_major: CompoundStyle
device_id_sep: CompoundStyle
device_id_minor: CompoundStyle
git_branch: CompoundStyle
git_insertions: CompoundStyle
git_deletions: CompoundStyle
git_status_current: CompoundStyle
git_status_modified: CompoundStyle
git_status_new: CompoundStyle
git_status_ignored: CompoundStyle
git_status_conflicted: CompoundStyle
git_status_other: CompoundStyle
selected_line: CompoundStyle
char_match: CompoundStyle
file_error: CompoundStyle
flag_label: CompoundStyle
flag_value: CompoundStyle
input: CompoundStyle
status_error: CompoundStyle
status_job: CompoundStyle
status_normal: CompoundStyle
status_italic: CompoundStyle
status_bold: CompoundStyle
status_code: CompoundStyle
status_ellipsis: CompoundStyle
purpose_normal: CompoundStyle
purpose_italic: CompoundStyle
purpose_bold: CompoundStyle
purpose_ellipsis: CompoundStyle
scrollbar_track: CompoundStyle
scrollbar_thumb: CompoundStyle
help_paragraph: CompoundStyle
help_bold: CompoundStyle
help_italic: CompoundStyle
help_code: CompoundStyle
help_headers: CompoundStyle
help_table_border: CompoundStyle
preview: CompoundStyle
preview_title: CompoundStyle
preview_line_number: CompoundStyle
preview_match: CompoundStyle
hex_null: CompoundStyle
hex_ascii_graphic: CompoundStyle
hex_ascii_whitespace: CompoundStyle
hex_ascii_other: CompoundStyle
hex_non_ascii: CompoundStyle
staging_area_title: CompoundStyle
mode_command_mark: CompoundStyle
Implementations
sourceimpl StyleMap
impl StyleMap
pub fn queue_reset<W: Write>(&self, f: &mut W) -> Result<(), ProgramError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StyleMap
impl Send for StyleMap
impl Sync for StyleMap
impl Unpin for StyleMap
impl UnwindSafe for StyleMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more