rust: Fix "Explicit lifetime bound required"
rust: Add #[repr(C)] to FFI structs
Merge pull request #1 from kevinmehall/master

Fixes for Rust changes