pub struct Styles {
pub disabled_cursor: Style,
pub cursor: Style,
pub symlink: Style,
pub directory: Style,
pub file: Style,
pub disabled_file: Style,
pub permission: Style,
pub selected: Style,
pub disabled_selected: Style,
pub file_size: Style,
pub empty_directory: Style,
}Expand description
Styles defines the possible customizations for styles in the file picker.
Fields§
§disabled_cursor: StyleStyle for the disabled cursor.
cursor: StyleStyle for the cursor.
symlink: StyleStyle for symlinks.
directory: StyleStyle for directories.
file: StyleStyle for files.
disabled_file: StyleStyle for disabled files.
permission: StyleStyle for permissions.
selected: StyleStyle for the selected item.
disabled_selected: StyleStyle for disabled selected items.
file_size: StyleStyle for file sizes.
empty_directory: StyleStyle for the empty directory view.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Styles
impl RefUnwindSafe for Styles
impl Send for Styles
impl Sync for Styles
impl Unpin for Styles
impl UnsafeUnpin for Styles
impl UnwindSafe for Styles
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more