pub struct ClipBatchList {
pub slow_rectangles: Vec<ClipMaskInstanceRect, FrameAllocator>,
pub fast_rectangles: Vec<ClipMaskInstanceRect, FrameAllocator>,
pub box_shadows: FastHashMap<TextureSource, Vec<ClipMaskInstanceBoxShadow, FrameAllocator>>,
}Expand description
A list of clip instances to be drawn into a target.
Fields§
§slow_rectangles: Vec<ClipMaskInstanceRect, FrameAllocator>Rectangle draws fill up the rectangles with rounded corners.
fast_rectangles: Vec<ClipMaskInstanceRect, FrameAllocator>§box_shadows: FastHashMap<TextureSource, Vec<ClipMaskInstanceBoxShadow, FrameAllocator>>Implementations§
Source§impl ClipBatchList
impl ClipBatchList
Trait Implementations§
Source§impl Debug for ClipBatchList
impl Debug for ClipBatchList
Auto Trait Implementations§
impl Freeze for ClipBatchList
impl RefUnwindSafe for ClipBatchList
impl Send for ClipBatchList
impl !Sync for ClipBatchList
impl Unpin for ClipBatchList
impl UnwindSafe for ClipBatchList
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