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

stateful

Design patterns for GUI application development

1 unstable release

0.1.0 Oct 7, 2022

#19 in #design-pattern

Download history 1/week @ 2024-02-14 7/week @ 2024-02-21 12/week @ 2024-02-28 1/week @ 2024-03-13 4/week @ 2024-03-20 40/week @ 2024-03-27 12/week @ 2024-04-03

54 downloads per month
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