pub enum RenderTaskParent {
Surface,
RenderTask(RenderTaskId),
}
Expand description
Describes a parent dependency for a render task. Render tasks may depend on a surface (e.g. when a surface uses a cached border) or an arbitrary render task (e.g. when a clip mask uses a blurred box-shadow input).
Variants§
Auto Trait Implementations§
impl Freeze for RenderTaskParent
impl RefUnwindSafe for RenderTaskParent
impl Send for RenderTaskParent
impl Sync for RenderTaskParent
impl Unpin for RenderTaskParent
impl UnwindSafe for RenderTaskParent
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