pub struct StepResult {
pub events_processed: u32,
pub tick_fired: bool,
pub dirty: bool,
pub quit: bool,
}Expand description
Outcome of a single WasmRunner::step call.
Fields§
§events_processed: u32Number of queued events processed in this step.
tick_fired: boolWhether a tick was delivered to the model.
dirty: boolWhether the model’s view is dirty (render needed).
quit: boolWhether the model issued Cmd::Quit.
Trait Implementations§
Source§impl Clone for StepResult
impl Clone for StepResult
Source§fn clone(&self) -> StepResult
fn clone(&self) -> StepResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StepResult
impl Debug for StepResult
Source§impl Default for StepResult
impl Default for StepResult
Source§fn default() -> StepResult
fn default() -> StepResult
Returns the “default value” for a type. Read more
impl Copy for StepResult
Auto Trait Implementations§
impl Freeze for StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnwindSafe for StepResult
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