pub struct Pixmap {
pub dimensions: [i32; 2],
pub image_data: Vec<u8>,
}Expand description
An icon image provided by an item.
Fields§
§dimensions: [i32; 2]The width and height of the image in pixels.
image_data: Vec<u8>The raw image data in ARGB32 format, in network (big-endian) byte order.
Trait Implementations§
impl StructuralPartialEq for Pixmap
Auto Trait Implementations§
impl Freeze for Pixmap
impl RefUnwindSafe for Pixmap
impl Send for Pixmap
impl Sync for Pixmap
impl Unpin for Pixmap
impl UnsafeUnpin for Pixmap
impl UnwindSafe for Pixmap
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