A simple rust library that adds functions such as is_, as_ and as_mut_ to enums.
is_
as_
as_mut_
```rust use enum_helpers::EnumIs;
pub enum Test { Example(u32), }
pub fn main() { let test = Test::Example(123); assert!(test.is_example()); // true } ```
More examples here.
Changelog here.