auto_enums 0.8.10

A library for to allow multiple return types by automatically generated enum.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: Apache-2.0 OR MIT

use auto_enums::enum_derive;

#[enum_derive(Debug)]
enum Enum<A, B> {
    A(A),
    B(B),
}

fn main() {}