IReversibleAction
trait · ferroui-xaml-interactivity · v0.5.0
trait IReversibleAction: IAction
Interface for actions that can revert the effect of a previous
IAction::execute call.
Members
execute_reversibly
fn execute_reversibly(self: &Self, sender: Option<&BoxedValue>, parameter: Option<&BoxedValue>) -> Option<BoxedValue>
Executes the action while capturing the state required by
revert.
Returns the result of the reversible execution.
revert
fn revert(self: &Self, sender: Option<&BoxedValue>, parameter: Option<&BoxedValue>) -> Option<BoxedValue>
Reverts the previously applied action.
Returns the result of the revert operation.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.