or-rs 0.1.2

or-rs's enum types.
Documentation
  • Coverage
  • 74.26%
    150 out of 202 items documented0 out of 156 items with examples
  • Size
  • Source code size: 65.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 5.88 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • mox692/or-rs
    6 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mox692

or-rs

Provides an enum-like data, Or type, that can contain elements of N types. The Or type provided by this crate is primarily intended to be used with the or_gen! macro, but can also be used standalone as an extension of the regular Rust's enum.

An implementation of enum exists in the enums module, which is automatically code-generated by code_gen crate. For more information on each Or type, please refer to the module documentation.