pub enum FileIcon {
Directory,
Executable,
RegularFile,
}Variants§
Implementations§
Source§impl FileIcon
impl FileIcon
pub fn as_str(&self) -> &str
pub fn as_str_custom(&self, config: &IconConfig) -> String
pub fn get_color(&self, config: &ColorConfig) -> Color
pub fn get_icon_color(&self, config: &IconColorConfig) -> Color
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileIcon
impl RefUnwindSafe for FileIcon
impl Send for FileIcon
impl Sync for FileIcon
impl Unpin for FileIcon
impl UnwindSafe for FileIcon
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