pub struct Outcome {
pub panel: Outcome,
pub im: InputMethod,
}
Expand description
The outwardly visible state.
Fields
panel: Outcome
im: InputMethod
Trait Implementations
sourceimpl Outcome for Outcome
impl Outcome for Outcome
sourcefn get_commands_to_reach(&self, new_state: &Self) -> Commands
fn get_commands_to_reach(&self, new_state: &Self) -> Commands
Returns the commands needed to apply changes as required by the new state. This implementation doesn’t actually take the old state into account, instead issuing all the commands as needed to reach the new state. The receivers of the commands bear the burden of checking if the commands end up being no-ops.
type Commands = Commands
Auto Trait Implementations
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl !Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more