pub struct RenderResult {
pub rgba_data: Vec<u8>,
pub width: u32,
pub height: u32,
}Expand description
Result of rendering a view to RGBA pixels.
Fields§
§rgba_data: Vec<u8>RGBA pixel data (4 bytes per pixel, row-major order).
width: u32Actual rendered width in pixels.
height: u32Actual rendered height in pixels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderResult
impl RefUnwindSafe for RenderResult
impl Send for RenderResult
impl Sync for RenderResult
impl Unpin for RenderResult
impl UnsafeUnpin for RenderResult
impl UnwindSafe for RenderResult
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