Struct webrender::render_task::PrimTask
source · pub struct PrimTask {
pub pattern: PatternKind,
pub pattern_input: PatternShaderInput,
pub device_pixel_scale: DevicePixelScale,
pub content_origin: DevicePoint,
pub prim_address_f: GpuBufferAddress,
pub raster_spatial_node_index: SpatialNodeIndex,
pub transform_id: TransformPaletteId,
pub edge_flags: EdgeAaSegmentMask,
pub quad_flags: QuadFlags,
pub prim_needs_scissor_rect: bool,
pub texture_input: RenderTaskId,
}
Fields§
§pattern: PatternKind
§pattern_input: PatternShaderInput
§device_pixel_scale: DevicePixelScale
§content_origin: DevicePoint
§prim_address_f: GpuBufferAddress
§raster_spatial_node_index: SpatialNodeIndex
§transform_id: TransformPaletteId
§edge_flags: EdgeAaSegmentMask
§quad_flags: QuadFlags
§prim_needs_scissor_rect: bool
§texture_input: RenderTaskId
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrimTask
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>
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