pub enum Icon {
Path(*const u16),
Buffer(*const u64, u32),
}
Expand description
Represents a window icon
Different under Windows, Linux and MacOS
Windows: Icon can be created from a relative path string
Linux / X11: Icon can be created from an ARGB buffer
Variants§
Trait Implementations§
impl Copy 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 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