Struct webrender::picture::DeferredDirtyTest
source · struct DeferredDirtyTest {
tile_rect: Box2D<i32, TileCoordinate>,
prim_rect: PictureRect,
}
Expand description
In some cases, we need to know the dirty rect of all tiles in order to correctly invalidate a primitive.
Fields§
§tile_rect: Box2D<i32, TileCoordinate>
The tile rect that the primitive being checked affects
prim_rect: PictureRect
The picture-cache local rect of the primitive being checked
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeferredDirtyTest
impl RefUnwindSafe for DeferredDirtyTest
impl Send for DeferredDirtyTest
impl Sync for DeferredDirtyTest
impl Unpin for DeferredDirtyTest
impl UnwindSafe for DeferredDirtyTest
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more