Struct webrender::render_task::PrimTask
source · pub struct PrimTask {
pub device_pixel_scale: DevicePixelScale,
pub content_origin: DevicePoint,
pub prim_address_f: GpuBufferAddress,
pub prim_spatial_node_index: SpatialNodeIndex,
pub raster_spatial_node_index: SpatialNodeIndex,
pub transform_id: TransformPaletteId,
pub edge_flags: EdgeAaSegmentMask,
pub quad_flags: QuadFlags,
pub clip_node_range: ClipNodeRange,
pub prim_needs_scissor_rect: bool,
}
Fields§
§device_pixel_scale: DevicePixelScale
§content_origin: DevicePoint
§prim_address_f: GpuBufferAddress
§prim_spatial_node_index: SpatialNodeIndex
§raster_spatial_node_index: SpatialNodeIndex
§transform_id: TransformPaletteId
§edge_flags: EdgeAaSegmentMask
§quad_flags: QuadFlags
§clip_node_range: ClipNodeRange
§prim_needs_scissor_rect: bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PrimTask
impl Send for PrimTask
impl Sync for PrimTask
impl Unpin for PrimTask
impl UnwindSafe for PrimTask
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>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
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