flybywireless-xplm 0.1.4

Safe, idiomatic Rust wrappers over the X-Plane plugin SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use xplm::plugin::XPlanePlugin;

#[xplm::plugin(
    name = "Test Plugin",
    signature = "org.xplm-rust.trybuild-test",
    description = "trybuild check that #[plugin(...)] expands and compiles"
)]
struct TestPlugin;

impl XPlanePlugin for TestPlugin {
    fn start() -> Self {
        TestPlugin
    }
}

fn main() {}