pub enum Step {
NeedMemory {
bytes: f64,
stage: MemoryStage,
},
NeedObservations,
NeedTile(TileKey),
Checkpoint,
Decode {
pass: Pass,
wanted: Vec<bool>,
},
NextFrame,
PassDone(Pass),
Provenance(Provenance),
Done(Outcome),
}Variants§
NeedMemory
Answer with RevealSession::memory: can bytes more be allocated?
NeedObservations
Pass every stored observation/ row to RevealSession::observation, then step again.
NeedTile(TileKey)
The tile is not resident: make room, insert it, step again.
Checkpoint
A compositor tile went into the reference; check for pause and stop, then step again.
Decode
Decode the recording for pass; wanted[i] marks the frames whose pixels it reads.
NextFrame
The pushed frame is done: push the next one, or end the pass after the last.
PassDone(Pass)
The pass is over (its timings end here); step again for the next one.
Provenance(Provenance)
Store this canvas’s provenance row, then step again.
Done(Outcome)
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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