Trait rs::event_loop::Outcome
source · [−]pub trait Outcome {
type Commands;
fn get_commands_to_reach(&self, desired: &Self) -> Self::Commands;
}
Expand description
The externally observable state of the actor.
Required Associated Types
Required Methods
fn get_commands_to_reach(&self, desired: &Self) -> Self::Commands
fn get_commands_to_reach(&self, desired: &Self) -> Self::Commands
Returns the instructions to emit in order to change the current visible state to the desired one.