See the parser module for functions to parse GBX files and buffers parser. The datastructures used are found in gbx.
pub use gbx::parser::parse_from_buffer;
pub use gbx::parser::parse_from_file;