18 lines
379 B
Rust
18 lines
379 B
Rust
|
|
|
|
nasp trinitrix {
|
|
/// This enum can't be called Trinitrix, as that's already the name of the namespace
|
|
/// (if it's in Pascal case)
|
|
enum Trinitrix {
|
|
High,
|
|
Medium,
|
|
Low,
|
|
};
|
|
|
|
fn execute_callback(priority: Trinitrix);
|
|
}
|
|
|
|
|
|
// That's a flat out lie, but it results in a rather nice syntax highlight compared to nothing:
|
|
// vim: syntax=rust
|