pub struct Icon {
pub width: u32,
pub height: u32,
pub pixels: Vec<u8>,
}Expand description
Icon data
Fields§
§width: u32Icon width in pixels
height: u32Icon height in pixels
pixels: Vec<u8>Pixel data in RGBA format
Trait Implementations§
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