pub struct Work {
pub draw: Vec<(Ticket, Rect)>,
pub request: Vec<(Ticket, Key)>,
pub evict: Vec<Ticket>,
pub missing: usize,
}Expand description
A frame’s work: the paintings to draw, bottom first, each where it lands in the view, in device pixels; the tiles to paint next, each under its ticket; the paintings to free; and how many tiles of the view at its own level are missing or stale — 0 when the frame shows the view current.
Fields§
§draw: Vec<(Ticket, Rect)>§request: Vec<(Ticket, Key)>§evict: Vec<Ticket>§missing: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Work
impl RefUnwindSafe for Work
impl Send for Work
impl Sync for Work
impl Unpin for Work
impl UnsafeUnpin for Work
impl UnwindSafe for Work
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