pub struct RenderedFrame {
pub width: u32,
pub height: u32,
pub pixels: Vec<u8>,
pub normalized_rect: Option<Rect>,
}Fields§
§width: u32§height: u32§pixels: Vec<u8>§normalized_rect: Option<Rect>Trait Implementations§
Source§impl Clone for RenderedFrame
impl Clone for RenderedFrame
Source§fn clone(&self) -> RenderedFrame
fn clone(&self) -> RenderedFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RenderedFrame
impl RefUnwindSafe for RenderedFrame
impl Send for RenderedFrame
impl Sync for RenderedFrame
impl Unpin for RenderedFrame
impl UnsafeUnpin for RenderedFrame
impl UnwindSafe for RenderedFrame
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