pub struct Pixmap {
pub width: i32,
pub height: i32,
pub argb: Vec<u32>,
}Expand description
One icon image: width × height pixels of ARGB32, row by row. Each u32 is
0xAARRGGBB (non-premultiplied); on the wire it goes out in network byte order (big-endian
A, R, G, B), as the specification requires whatever the host’s byte order.
Fields§
§width: i32Width in pixels.
height: i32Height in pixels.
argb: Vec<u32>width × height pixels, 0xAARRGGBB each.
Implementations§
Trait Implementations§
impl Eq for Pixmap
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