enum_like 0.1.0

A trait to treat any type as an enum. If a type has a reasonably small number of variants, for example a `struct A(bool, bool)` which has 4 variants, this trait provides a 1-to-1 mapping from type value to a discriminant value. It also provides an iterator over all the possible values. This crate is mainly meant to be used along with `enum_like_derive` and `enum_vec`.
Documentation
  • Feature flags
  • Feature flags are not available for this release because it was built before features were collected by docs.rs.

enum_like

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

Feature flags are not available for this release because it was built before features were collected by docs.rs.