Struct glutin_glx_sys::glx::Glx[][src]

pub struct Glx {
Show 39 fields pub ChooseFBConfig: FnPtr, pub ChooseVisual: FnPtr, pub CopyContext: FnPtr, pub CreateContext: FnPtr, pub CreateGLXPixmap: FnPtr, pub CreateNewContext: FnPtr, pub CreatePbuffer: FnPtr, pub CreatePixmap: FnPtr, pub CreateWindow: FnPtr, pub DestroyContext: FnPtr, pub DestroyGLXPixmap: FnPtr, pub DestroyPbuffer: FnPtr, pub DestroyPixmap: FnPtr, pub DestroyWindow: FnPtr, pub GetClientString: FnPtr, pub GetConfig: FnPtr, pub GetCurrentContext: FnPtr, pub GetCurrentDisplay: FnPtr, pub GetCurrentDrawable: FnPtr, pub GetCurrentReadDrawable: FnPtr, pub GetFBConfigAttrib: FnPtr, pub GetFBConfigs: FnPtr, pub GetProcAddress: FnPtr, pub GetSelectedEvent: FnPtr, pub GetVisualFromFBConfig: FnPtr, pub IsDirect: FnPtr, pub MakeContextCurrent: FnPtr, pub MakeCurrent: FnPtr, pub QueryContext: FnPtr, pub QueryDrawable: FnPtr, pub QueryExtension: FnPtr, pub QueryExtensionsString: FnPtr, pub QueryServerString: FnPtr, pub QueryVersion: FnPtr, pub SelectEvent: FnPtr, pub SwapBuffers: FnPtr, pub UseXFont: FnPtr, pub WaitGL: FnPtr, pub WaitX: FnPtr, // some fields omitted
}

Fields

ChooseFBConfig: FnPtrChooseVisual: FnPtrCopyContext: FnPtrCreateContext: FnPtrCreateGLXPixmap: FnPtrCreateNewContext: FnPtrCreatePbuffer: FnPtrCreatePixmap: FnPtrCreateWindow: FnPtrDestroyContext: FnPtrDestroyGLXPixmap: FnPtrDestroyPbuffer: FnPtrDestroyPixmap: FnPtrDestroyWindow: FnPtrGetClientString: FnPtrGetConfig: FnPtrGetCurrentContext: FnPtrGetCurrentDisplay: FnPtrGetCurrentDrawable: FnPtrGetCurrentReadDrawable: FnPtrGetFBConfigAttrib: FnPtrGetFBConfigs: FnPtrGetProcAddress: FnPtrGetSelectedEvent: FnPtrGetVisualFromFBConfig: FnPtrIsDirect: FnPtrMakeContextCurrent: FnPtrMakeCurrent: FnPtrQueryContext: FnPtrQueryDrawable: FnPtrQueryExtension: FnPtrQueryExtensionsString: FnPtrQueryServerString: FnPtrQueryVersion: FnPtrSelectEvent: FnPtrSwapBuffers: FnPtrUseXFont: FnPtrWaitGL: FnPtrWaitX: FnPtr

Implementations

Load each OpenGL symbol using a custom load function. This allows for the use of functions like glfwGetProcAddress or SDL_GL_GetProcAddress.

let gl = Gl::load_with(|s| glfw.get_proc_address(s));

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.