pub enum RenderStep {
NeedMeta(String),
NeedFrame(u32),
NeedTile(TileKey),
NeedTemporal(String),
Done(FrameOutcome),
}Variants§
NeedMeta(String)
The canvas’s stored metadata is needed: RenderSession::provide_meta, then step again.
NeedFrame(u32)
The frame’s pixels are needed: write them into RenderSession::frame_slot, then step again.
NeedTile(TileKey)
The compositor needs this tile resident: make room, insert it, step again.
NeedTemporal(String)
The compositor needs this canvas’s stored temporal records: Compositor::load_temporal, step again.
Done(FrameOutcome)
Trait Implementations§
Source§impl Clone for RenderStep
impl Clone for RenderStep
Source§impl Debug for RenderStep
impl Debug for RenderStep
Source§impl PartialEq for RenderStep
impl PartialEq for RenderStep
impl StructuralPartialEq for RenderStep
Auto Trait Implementations§
impl Freeze for RenderStep
impl RefUnwindSafe for RenderStep
impl Send for RenderStep
impl Sync for RenderStep
impl Unpin for RenderStep
impl UnsafeUnpin for RenderStep
impl UnwindSafe for RenderStep
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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