pub enum AppIcon {
File(PathBuf),
Bytes(Arc<[u8]>),
}Expand description
The app’s icon, decoded by the platform: PNG everywhere, other formats
where the platform reads them (an .ico file on Windows, with its
sizes). Give it large (256 or 512 pixels square): platforms scale it
down.
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for AppIcon
Auto Trait Implementations§
impl Forget for AppIcon
impl Freeze for AppIcon
impl Move for AppIcon
impl RefUnwindSafe for AppIcon
impl Send for AppIcon
impl Sync for AppIcon
impl Unpin for AppIcon
impl UnsafeUnpin for AppIcon
impl UnwindSafe for AppIcon
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