Struct webrender::batch::ClipBatchList
source · pub struct ClipBatchList {
pub slow_rectangles: Vec<ClipMaskInstanceRect>,
pub fast_rectangles: Vec<ClipMaskInstanceRect>,
pub box_shadows: FastHashMap<TextureSource, Vec<ClipMaskInstanceBoxShadow>>,
}
Expand description
A list of clip instances to be drawn into a target.
Fields§
§slow_rectangles: Vec<ClipMaskInstanceRect>
Rectangle draws fill up the rectangles with rounded corners.
fast_rectangles: Vec<ClipMaskInstanceRect>
§box_shadows: FastHashMap<TextureSource, Vec<ClipMaskInstanceBoxShadow>>
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