Struct webrender::tile_cache::PrimarySlice
source · struct PrimarySlice {
kind: SliceKind,
background_color: Option<ColorF>,
iframe_clip: Option<ClipId>,
slice_flags: SliceFlags,
}
Fields§
§kind: SliceKind
Whether this slice is atomic or has secondary slice(s)
background_color: Option<ColorF>
Optional background color of this slice
iframe_clip: Option<ClipId>
Optional root clip for the iframe
slice_flags: SliceFlags
Information about how to draw and composite this slice
Implementations§
source§impl PrimarySlice
impl PrimarySlice
Auto Trait Implementations§
impl Freeze for PrimarySlice
impl RefUnwindSafe for PrimarySlice
impl Send for PrimarySlice
impl Sync for PrimarySlice
impl Unpin for PrimarySlice
impl UnwindSafe for PrimarySlice
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