Struct webrender::picture::TileUpdateDirtyContext
source · struct TileUpdateDirtyContext<'a> {
pic_to_world_mapper: SpaceMapper<PicturePixel, WorldPixel>,
global_device_pixel_scale: DevicePixelScale,
opacity_bindings: &'a FastHashMap<PropertyBindingId, BindingInfo<f32>>,
color_bindings: &'a FastHashMap<PropertyBindingId, BindingInfo<ColorU>>,
local_rect: PictureRect,
invalidate_all: bool,
}
Fields§
§pic_to_world_mapper: SpaceMapper<PicturePixel, WorldPixel>
Maps from picture cache coords -> world space coords.
global_device_pixel_scale: DevicePixelScale
Global scale factor from world -> device pixels.
opacity_bindings: &'a FastHashMap<PropertyBindingId, BindingInfo<f32>>
Information about opacity bindings from the picture cache.
color_bindings: &'a FastHashMap<PropertyBindingId, BindingInfo<ColorU>>
Information about color bindings from the picture cache.
local_rect: PictureRect
The local rect of the overall picture cache
invalidate_all: bool
If true, the scale factor of the root transform for this picture cache changed, so we need to invalidate the tile and re-render.
Auto Trait Implementations§
impl<'a> Freeze for TileUpdateDirtyContext<'a>
impl<'a> RefUnwindSafe for TileUpdateDirtyContext<'a>
impl<'a> Send for TileUpdateDirtyContext<'a>
impl<'a> Sync for TileUpdateDirtyContext<'a>
impl<'a> Unpin for TileUpdateDirtyContext<'a>
impl<'a> UnwindSafe for TileUpdateDirtyContext<'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
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