☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
cbindgen
/
tests
/
rust
/
enum_discriminant.rs
☽
☼
.cargo/vendor/cbindgen/tests/rust/enum_discriminant.rs
code
plain
raw
MPL-2.0
NONE
debian/copyright
1
pub const FOUR: i8 = 4;
2
3
#[repr(i8)]
4
enum E {
5
A = 1,
6
B = -1,
7
C = 1 + 2,
8
D = FOUR,
9
F = (5),
10
G = b'6' as i8,
11
H = false as i8,
12
}
13
14
#[no_mangle]
15
pub extern "C" fn root(_: &E) {}