Struct webrender::batch::ClipMaskInstanceList
source · pub struct ClipMaskInstanceList {
pub mask_instances_fast: Vec<MaskInstance>,
pub mask_instances_slow: Vec<MaskInstance>,
pub mask_instances_fast_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance>>,
pub mask_instances_slow_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance>>,
pub image_mask_instances: FastHashMap<TextureSource, Vec<PrimitiveInstanceData>>,
pub image_mask_instances_with_scissor: FastHashMap<(DeviceIntRect, TextureSource), Vec<PrimitiveInstanceData>>,
}
Expand description
A list of clip instances to be drawn into a target.
Fields§
§mask_instances_fast: Vec<MaskInstance>
§mask_instances_slow: Vec<MaskInstance>
§mask_instances_fast_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance>>
§mask_instances_slow_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance>>
§image_mask_instances: FastHashMap<TextureSource, Vec<PrimitiveInstanceData>>
§image_mask_instances_with_scissor: FastHashMap<(DeviceIntRect, TextureSource), Vec<PrimitiveInstanceData>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClipMaskInstanceList
impl RefUnwindSafe for ClipMaskInstanceList
impl Send for ClipMaskInstanceList
impl Sync for ClipMaskInstanceList
impl Unpin for ClipMaskInstanceList
impl UnwindSafe for ClipMaskInstanceList
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