mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
25 lines
238 B
Rust
25 lines
238 B
Rust
enum Foo {
|
|
Bar,
|
|
Baz,
|
|
Qux,
|
|
}
|
|
|
|
enum Fieldless {
|
|
Tuple(),
|
|
Struct{},
|
|
Unit,
|
|
}
|
|
|
|
enum Direction {
|
|
North = 0,
|
|
East = 90,
|
|
South = 180,
|
|
West = 270,
|
|
}
|
|
|
|
enum Color {
|
|
Red(u8),
|
|
Green(u8),
|
|
Blue(u8),
|
|
}
|