pub enum Icon {
Spinner,
Checkmark,
Cross,
Info,
Warning,
}Expand description
Visual cue for UI lines. Mapped to a glyph by the frontend.
The runtime intentionally does not provide a Display impl: glyphs are a
presentation concern owned by the frontend (the TUI animates Spinner over
multiple frames, the console picks a single character per icon, a future
log-only frontend may use ASCII).
Variants§
Spinner
Operation in progress; animated in TUI.
Checkmark
Success / completion.
Cross
Failure / error.
Info
Informational message.
Warning
Warning (non-fatal).
Trait Implementations§
impl Copy for Icon
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl Send for Icon
impl Sync for Icon
impl Unpin for Icon
impl UnsafeUnpin for Icon
impl UnwindSafe for Icon
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.