pub struct FrameYuv420pRender {
pub report: RenderReport,
pub readback: Option<Yuv420pReadback>,
}Expand description
Result of rendering and scheduling one frame for planar YUV420 readback.
Fields§
§report: RenderReportAvailability information collected before any GPU work is submitted.
readback: Option<Yuv420pReadback>Submitted readback, absent when source frames are unavailable.
Implementations§
Source§impl FrameYuv420pRender
impl FrameYuv420pRender
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Returns whether a complete frame was submitted for readback.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FrameYuv420pRender
impl !RefUnwindSafe for FrameYuv420pRender
impl !UnwindSafe for FrameYuv420pRender
impl Send for FrameYuv420pRender
impl Sync for FrameYuv420pRender
impl Unpin for FrameYuv420pRender
impl UnsafeUnpin for FrameYuv420pRender
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