or_rs/
lib.rs

1//! Provides an enum-like data, `Or` type, that can contain elements of N types.
2//! The `Or` type provided by this crate is primarily intended to be used with the
3//! [or_gen!](../macros/attr.or_gen.html) macro, but can also be used standalone
4//! as an extension of the regular Rust's enum.
5//!
6//! An implementation of enum exists in the [enums](./enums/index.html) module,
7//! which is automatically code-generated by [code_gen](../code_gen/index.html) crate.
8//! For more information on each `Or` type, please refer to the module documentation.
9
10#![cfg_attr(feature = "unstable_feature", feature(core_intrinsics))]
11
12pub mod enums;