Crate actions

Source
Expand description

§Actions

actions is a library that helps you getting control over the state of you program. Using actions allows you to

  • Undo and redo actions!
  • Create macro’s which merge multiple actions into one chain of actions!

Structs§

Chain
A ‘chain’ of actions.
Timeline
The Timeline wraps around a State and makes it accessible by using actions only.

Enums§

Error
An errortype that is used by any function in the actions-library that can return an error.
InverseResult
The result of getting a inverse of an action.
MergeResult
The result of trying to merge two actions.

Traits§

Merge
Trait that enables actions to merge actions.
State
State is a trait that should be implemented for any datatype that describes the state of your application.