# discriminant crate [![Latest Version]][crates.io] [![Documentation]][docs.rs] [![GitHub Actions]][actions] [Latest Version]: https://img.shields.io/crates/v/discriminant.svg [crates.io]: https://crates.io/crates/discriminant [Documentation]: https://img.shields.io/docsrs/discriminant [docs.rs]: https://docs.rs/discriminant/latest/discriminant/ [GitHub Actions]: https://github.com/yasuo-ozu/discriminant/actions/workflows/rust.yml/badge.svg [actions]: https://github.com/yasuo-ozu/discriminant/actions/workflows/rust.yml This crate defines discriminant type of any enums and operations, more usable than `std::mem::Discriminant`.