pub struct Icon {
pub width: i32,
pub height: i32,
pub data: Vec<u8>,
}
Expand description
An ARGB32 image
Fields§
§width: i32
§height: i32
§data: Vec<u8>
ARGB32 format, network byte order
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