pub struct Outcome {
pub panel: Outcome,
pub im: InputMethod,
}
Expand description
The outwardly visible state.
Fields§
§panel: Outcome
§im: InputMethod
Trait Implementations§
Source§impl Outcome for Outcome
impl Outcome for Outcome
Source§fn 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 Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl !Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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