or-rs

Crates.ioor-rs
lib.rsor-rs
version0.1.2
sourcesrc
created_at2023-12-17 14:09:02.881404
updated_at2023-12-17 14:18:09.121342
descriptionor-rs's enum types.
homepage
repositoryhttps://github.com/mox692/or-rs
max_upload_size
id1072514
size66,159
Motoyuki Kimura (mox692)

documentation

README

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.

Commit count: 10

cargo fmt