summaryrefslogtreecommitdiffstats
path: root/native/src/window/icon.rs
blob: 08a6acfd86563b45d608fb2eff66617f5b5cf4ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
//! Attach an icon to the window of your application.

/// The icon of a window.
#[derive(Debug, Clone)]
pub struct Icon {
    /// The __rgba__ color data of the window [`Icon`].
    pub rgba: Vec<u8>,
    /// The width of the window [`Icon`].
    pub width: u32,
    /// The height of the window [`Icon`].
    pub height: u32,
}