pub struct ImageClipSubTask {
pub quad_address: GpuBufferAddress,
pub quad_transform_id: GpuTransformId,
pub src_task: RenderTaskId,
pub quad_flags: QuadFlags,
pub needs_scissor_rect: bool,
}Expand description
An clip applied to a render task using the multiply blend mode on top of the content being clipped.
Fields§
§quad_address: GpuBufferAddressQuad primitive address for this clip.
quad_transform_id: GpuTransformIdTransform from the clip’s local space to raster space (to position the clip’s quad primitive).
src_task: RenderTaskId§quad_flags: QuadFlags§needs_scissor_rect: boolTrait Implementations§
Source§impl Debug for ImageClipSubTask
impl Debug for ImageClipSubTask
Auto Trait Implementations§
impl Freeze for ImageClipSubTask
impl RefUnwindSafe for ImageClipSubTask
impl Send for ImageClipSubTask
impl Sync for ImageClipSubTask
impl Unpin for ImageClipSubTask
impl UnsafeUnpin for ImageClipSubTask
impl UnwindSafe for ImageClipSubTask
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