pub struct Pixels { /* private fields */ }Expand description
A picture as its pixels, for a Notice whose picture came as bytes rather than a file: RGBA,
8 bits a channel, row after row with nothing between them.
Cheap to clone. Keep the same Pixels for as long as the notice shows: the host draws it once
and knows it again by its bytes’ address.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pixels
impl RefUnwindSafe for Pixels
impl Send for Pixels
impl Sync for Pixels
impl Unpin for Pixels
impl UnsafeUnpin for Pixels
impl UnwindSafe for Pixels
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