pub enum Replay {
Playing {
ticks: u64,
},
Ended {
ticks: u64,
},
Failed {
ticks: u64,
error: InputError,
},
}Expand description
How the replay that App::play_replay plays
is going: a resource that it adds.
ticks counts the replay’s ticks that fed the actions so far. While a
tick’s systems run, it counts that tick.
Variants§
Playing
Its ticks feed the actions.
Ended
It ended with its last tick, the ticks-th. The ticks after it are
latched from the live input.
Failed
After ticks ticks, the next could not be read. The ticks after
the last played are latched from the live input.
Fields
§
error: InputErrorWhy it could not be read.
Trait Implementations§
impl Eq for Replay
impl StructuralPartialEq for Replay
Auto Trait Implementations§
impl Forget for Replay
impl Freeze for Replay
impl Move for Replay
impl RefUnwindSafe for Replay
impl Send for Replay
impl Sync for Replay
impl Unpin for Replay
impl UnsafeUnpin for Replay
impl UnwindSafe for Replay
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