pub struct RegionCopy {
pub source: RectU16,
}Expand description
A region of the frame’s own target, copied into a round’s page at the page’s origin before anything else reads the page.
The reusable half of a backdrop blur: whatever needs to read what the frame has already painted — a blur of it, and next a blend composite against it — is handed a page holding exactly that region, made by cutting the surface round so everything before it in painter order has landed, then copying.
Fields§
§source: RectU16The device-space region copied, which is also the page’s own
PageTarget::bounds: the page holds it at its origin.
Trait Implementations§
Source§impl Clone for RegionCopy
impl Clone for RegionCopy
impl Copy for RegionCopy
Source§impl Debug for RegionCopy
impl Debug for RegionCopy
impl Eq for RegionCopy
Source§impl PartialEq for RegionCopy
impl PartialEq for RegionCopy
impl StructuralPartialEq for RegionCopy
Auto Trait Implementations§
impl Freeze for RegionCopy
impl RefUnwindSafe for RegionCopy
impl Send for RegionCopy
impl Sync for RegionCopy
impl Unpin for RegionCopy
impl UnsafeUnpin for RegionCopy
impl UnwindSafe for RegionCopy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.