Crates.io | or-rs |
lib.rs | or-rs |
version | 0.1.2 |
source | src |
created_at | 2023-12-17 14:09:02.881404 |
updated_at | 2023-12-17 14:18:09.121342 |
description | or-rs's enum types. |
homepage | |
repository | https://github.com/mox692/or-rs |
max_upload_size | |
id | 1072514 |
size | 66,159 |
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.