pub struct ClipMaskInstanceList {
pub mask_instances_fast: Vec<MaskInstance, FrameAllocator>,
pub mask_instances_slow: Vec<MaskInstance, FrameAllocator>,
pub mask_instances_fast_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance, FrameAllocator>>,
pub mask_instances_slow_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance, FrameAllocator>>,
pub image_mask_instances: FastHashMap<TextureSource, Vec<PrimitiveInstanceData, FrameAllocator>>,
pub image_mask_instances_with_scissor: FastHashMap<(DeviceIntRect, TextureSource), Vec<PrimitiveInstanceData, FrameAllocator>>,
}Expand description
A list of clip instances to be drawn into a target.
Fields§
§mask_instances_fast: Vec<MaskInstance, FrameAllocator>§mask_instances_slow: Vec<MaskInstance, FrameAllocator>§mask_instances_fast_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance, FrameAllocator>>§mask_instances_slow_with_scissor: FastHashMap<DeviceIntRect, Vec<MaskInstance, FrameAllocator>>§image_mask_instances: FastHashMap<TextureSource, Vec<PrimitiveInstanceData, FrameAllocator>>§image_mask_instances_with_scissor: FastHashMap<(DeviceIntRect, TextureSource), Vec<PrimitiveInstanceData, FrameAllocator>>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