struct PrimarySlice {
kind: SliceKind,
background_color: Option<ColorF>,
iframe_clip: Option<ClipId>,
slice_flags: SliceFlags,
}Fields§
§kind: SliceKindWhether 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: SliceFlagsInformation 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