pub struct Icon {
pub small: [u8; 1024],
pub medium: [u8; 4096],
pub big: [u8; 16384],
}
Expand description
Icon image in three levels of detail.
Fields§
§small: [u8; 1024]
16 * 16 image of RGBA pixels (each 4 * u8) in row-major order.
medium: [u8; 4096]
32 x 32 image of RGBA pixels (each 4 * u8) in row-major order.
big: [u8; 16384]
64 x 64 image of RGBA pixels (each 4 * u8) in row-major order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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