pub struct Icon<'a> {
pub rgba: Cow<'a, [u8]>,
pub width: u32,
pub height: u32,
}
Expand description
Window icon.
Fields§
§rgba: Cow<'a, [u8]>
RGBA bytes of the icon.
width: u32
Icon width.
height: u32
Icon height.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Icon<'a>
impl<'a> RefUnwindSafe for Icon<'a>
impl<'a> Send for Icon<'a>
impl<'a> Sync for Icon<'a>
impl<'a> Unpin for Icon<'a>
impl<'a> UnwindSafe for Icon<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)