pub enum FileIcon {
Directory,
Executable,
Symlink,
RegularFile,
}Variants§
Implementations§
Source§impl FileIcon
impl FileIcon
pub fn as_str_custom(&self, config: &IconConfig) -> String
Sourcepub fn icon<'a>(&self, config: &'a IconConfig) -> &'a str
pub fn icon<'a>(&self, config: &'a IconConfig) -> &'a str
The configured icon for this type, or the automatic default.
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 UnsafeUnpin 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