Struct simple_pixels::Icon
source · pub struct Icon {
pub small: [RGBA8; 256],
pub medium: [RGBA8; 1024],
pub large: [RGBA8; 4096],
}Expand description
Icon image in three levels of detail.
Fields§
§small: [RGBA8; 256]16x16 image (RGBA, row-major order)
medium: [RGBA8; 1024]32x32 image (RGBA, row-major order)
large: [RGBA8; 4096]64x64 image (RGBA, row-major order)
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