Docs.rs
union_type-0.1.0
union_type 0.1.0
Permalink
Docs.rs crate page
Unlicense
Links
Repository
crates.io
Source
Owners
longfangsong
Dependencies
proc-macro2 ^1.0
normal
quote ^1
normal
syn ^1.0
normal
Versions
50%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
union_
type
0.1.0
All Items
Crate Items
Macros
Crate
union_type
Copy item path
Source
Macros
§
union_
type
To make a enum a “union type” Assume there exists an A type and a B type, both of them has implemented
fn
f
and
g