pub struct RenderedImage {
pub pixels: Vec<u8>,
pub width: u32,
pub height: u32,
}Expand description
An RGBA pixel buffer with encoding methods.
Fields§
§pixels: Vec<u8>RGBA pixels, row-major, 4 bytes per pixel.
width: u32§height: u32Implementations§
Auto Trait Implementations§
impl Freeze for RenderedImage
impl RefUnwindSafe for RenderedImage
impl Send for RenderedImage
impl Sync for RenderedImage
impl Unpin for RenderedImage
impl UnsafeUnpin for RenderedImage
impl UnwindSafe for RenderedImage
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