proxy-enum – Emulate dynamic dispatch and sealed courses utilizing a proxy enum, which defers all technique calls to its variants
Emulate dynamic dispatch and “sealed classes” utilizing a proxy enum, which defers all technique calls to its variants. In rust, dynamic dispatch is completed utilizing trait objects (dyn Trait). They allow us to have runtime polymorphism, a manner of expressing {that a} sort implements a sure trait whereas ignoring its concrete implementation.
https://github.com/NyxCode/proxy-enum
Tags | |
Implementation |
Rust |
License |
Public |
Platform |
Windows Linux |