pub struct StagedPunch {
pub device: Rect,
pub depth: u32,
}Expand description
A punch the walk has hoisted, held until the frame’s draws are done.
The rectangle is already in device space — the hoist happens where the clear was recorded, because that is the only place the brackets it is confined by are still open — while the coverage for it is generated at the end of the frame, where it belongs in the strip storage.
Fields§
§device: RectThe device-space rectangle to cover.
depth: u32The painter-order depth the punch was hoisted from.
Trait Implementations§
Source§impl Clone for StagedPunch
impl Clone for StagedPunch
impl Copy for StagedPunch
Source§impl Debug for StagedPunch
impl Debug for StagedPunch
Source§impl PartialEq for StagedPunch
impl PartialEq for StagedPunch
impl StructuralPartialEq for StagedPunch
Auto Trait Implementations§
impl Freeze for StagedPunch
impl RefUnwindSafe for StagedPunch
impl Send for StagedPunch
impl Sync for StagedPunch
impl Unpin for StagedPunch
impl UnsafeUnpin for StagedPunch
impl UnwindSafe for StagedPunch
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