《Rust程序设计语言》笔记-练习代码与设计模式(Design Pattern)练习
-
Updated
May 9, 2023 - Rust
《Rust程序设计语言》笔记-练习代码与设计模式(Design Pattern)练习
Two macros for easy implementation of 'state' design pattern and other dynamic polymorphism using enum instead of dyn Trait
Tetris in Rust using the Piston Engine and the State Pattern
This is an example of rust using the methods_enum::impl_match! for GUI. (without player real connection)
Add a description, image, and links to the state-pattern topic page so that developers can more easily learn about it.
To associate your repository with the state-pattern topic, visit your repo's landing page and select "manage topics."