Crate editable

Source

Structs§

ClosureEditAction
An action that executes a closure to modify the data. It can also undo the action by executing another closure.
Editable
A struct representing an editable data structure. It allows for editing, undoing, and redoing actions on the data. It also maintains a history of actions performed on the data.
SnapshotEditAction
An action that takes a snapshot of the data before executing. If the action fails, it restores the data to its previous state. Mostly useful for clonable data types. On undo it restores the data to the state before the action was executed.

Enums§

EditHistoryKind
An enum representing the kind of edit history.
EditableError
An error that can occur during editing operations.
PossiblyEditable
A struct representing a possibly editable data. It can either be fixed or editable.

Traits§

EditAction
A trait representing an action that can be performed on editable data. It provides methods to execute and undo the action.