Struct simple_pixels::Icon
source · [−]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
sourceimpl Icon
impl Icon
pub fn miniquad_logo() -> Icon
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more