pub struct Picture {
pub pixels: Vec<u32>,
pub size: Size,
}Expand description
Pixels for a picture a form named, as Wiring::asset hands them back.
Fields§
§pixels: Vec<u32>Premultiplied 0xAARRGGBB, which is denise-ui’s contract exactly.
size: SizeThe picture’s own size.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Picture
impl RefUnwindSafe for Picture
impl Send for Picture
impl Sync for Picture
impl Unpin for Picture
impl UnsafeUnpin for Picture
impl UnwindSafe for Picture
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