Crate history_stack

source ·
Expand description

A crate implementing generic history managers that can act as building blocks for transactional state and reversible computations

Structs

  • A wrapper over a T that provides a primitive history mechanism by use of a stack of T. It can be pushed to or popped from to save the current value or pop out a previously saved value in LIFO (stack) order.
  • A structure which allows you to undo and redo changes based on saved states of T.