#pattern #design-pattern #transition #traits #verify #inherit #applications

stateful

Design patterns for GUI application development

1 unstable release

0.1.0 Oct 7, 2022

#5 in #inherit


Used in filecase

MIT license

12KB
132 lines

About

This crate exports traits useful for a few design patterns common in GUI development, with abstractions built only using the standard library, such as:

  • Verify Implemented by objects that most uphold some condition.

  • Callbacks/ValuedCallbacks Synchonous Signal/Slots (late binding) mechanism, built on RefCell/Rc.

  • Inherit Java-style inheritance trait.

  • Transition Implements the typestate pattern.

A few other traits are still a work in progress.

No runtime deps