21 lines
371 B
Rust
21 lines
371 B
Rust
|
|
|
|
nasp trinitrix {
|
|
struct Callback {
|
|
func: Function,
|
|
timeout: Integer,
|
|
};
|
|
|
|
enum CallbackPriority {
|
|
High,
|
|
Medium,
|
|
Low,
|
|
};
|
|
|
|
fn execute_callback(callback: Callback, priority: CallbackPriority);
|
|
}
|
|
|
|
|
|
// That's a flat out lie, but it results in a rather nice syntax highlight compared to nothing:
|
|
// vim: syntax=rust
|