pub enum Icon {
Name(String),
Mime(String),
}Expand description
An icon to render, resolved by the frontend against the active icon theme.
Variants§
Name(String)
An icon-theme name or an absolute path to an image.
Mime(String)
A mime type whose generic icon should be shown.
Trait Implementations§
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Forget for Icon
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