1 2 3 4 5 6 7 8 9 10
extern crate glfw; use features; use std::os::raw::c_void; impl features::traits::GlWindow for glfw::Window{ fn proc_address(&mut self, proc_name: &str) -> *const c_void{ self.get_proc_address(proc_name) as *const c_void } }
1 2 3 4 5 6 7 8 9 10
extern crate glfw; use features; use std::os::raw::c_void; impl features::traits::GlWindow for glfw::Window{ fn proc_address(&mut self, proc_name: &str) -> *const c_void{ self.get_proc_address(proc_name) as *const c_void } }