pub enum IconMode {
Classic,
NerdFont,
Auto,
}Expand description
The icon rendering mode.
Variants§
Classic
Use classic Unicode characters (works in all terminals).
NerdFont
Use Nerd Font glyphs (requires a Nerd Font to be installed).
Auto
Auto-detect: check NERD_FONT env var, fall back to Classic.
Trait Implementations§
impl Copy for IconMode
impl Eq for IconMode
impl StructuralPartialEq for IconMode
Auto Trait Implementations§
impl Freeze for IconMode
impl RefUnwindSafe for IconMode
impl Send for IconMode
impl Sync for IconMode
impl Unpin for IconMode
impl UnsafeUnpin for IconMode
impl UnwindSafe for IconMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.