Struct webrender::surface::SurfaceTileDescriptor
source · pub struct SurfaceTileDescriptor {
pub current_task_id: RenderTaskId,
pub composite_task_id: Option<RenderTaskId>,
pub dirty_rect: PictureRect,
}
Fields§
§current_task_id: RenderTaskId
Target render task for commands added to this tile. This is changed each time a sub-graph is encountered on this tile
composite_task_id: Option<RenderTaskId>
The compositing task for this tile, if required. This is only needed when a tile contains one or more sub-graphs.
dirty_rect: PictureRect
Dirty rect for this tile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SurfaceTileDescriptor
impl RefUnwindSafe for SurfaceTileDescriptor
impl Send for SurfaceTileDescriptor
impl Sync for SurfaceTileDescriptor
impl Unpin for SurfaceTileDescriptor
impl UnwindSafe for SurfaceTileDescriptor
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