pub struct FrameOutput<'a> {
pub list: &'a DisplayList,
pub damage: &'a [PixelRect],
pub full: bool,
pub clear_color: Color,
pub scale: f32,
}Expand description
What a renderer draws for one frame.
Fields§
§list: &'a DisplayListThe operations to replay, in paint order.
damage: &'a [PixelRect]The physical rectangles that changed since the previous frame.
full: boolWhether the frame repaints the whole surface.
clear_color: ColorThe color the surface starts from, before list is replayed.
scale: f32The number of physical pixels per logical pixel.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FrameOutput<'a>
impl<'a> !Send for FrameOutput<'a>
impl<'a> !Sync for FrameOutput<'a>
impl<'a> !UnwindSafe for FrameOutput<'a>
impl<'a> Forget for FrameOutput<'a>
impl<'a> Freeze for FrameOutput<'a>
impl<'a> Move for FrameOutput<'a>
impl<'a> Unpin for FrameOutput<'a>
impl<'a> UnsafeUnpin for FrameOutput<'a>
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