Sam Crow

Results 15 comments of Sam Crow

1. I just added [a menus example](https://github.com/samcrow/rust-xplm/blob/master/examples/menus.rs), which is working in X-Plane 11.11r2. While making it, I re-learned one of the tricky parts about this library: resources get destroyed when...

Unfortunately, I can't make good examples for most of the SDK because I haven't found a good design for the APIs that is safe, ergonomic, and functional. The menu and...

Thanks for suggesting this. I added a `--rustfmt` option in canadensis_codegen_rust 0.3.2 that just runs rustfmt on the generated code. I'm also open to enabling that by default. The main...

That makes sense. This library doesn't have a way to do that right now. I don't have time to implement it myself right now, but the idea of a trait...

Yes, that sounds useful. If you can include generic type variables for the data type and access in your enum, but implement the functions for u32 ReadWrite only, that will...