You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: impl.rs
    path of file: ./repos/glad/glad/generator/rust/templates
    
    the code of the file until where you have to start completion: {% import 'template_utils.rs' as template_utils with context %}
pub use self::types::*;
pub use self::enumeration
    
    fn new(ptr: *const c_void) -> FnPtr {
        if !ptr.is_null() {
            FnPtr { ptr, is_loaded: true }
        } else {
            FnPtr { ptr: FnPtr::not_initialized as *const c_void, is_loaded: false }
        }
    }