Implement Rust enum generation
Remove some unused functions
Implement Rust typedefs and passthru
Remove unnecessary sys_functions struct
Don't use enum prefix