Struct x11_dl::glx::Glx [−][src]
pub struct Glx {}Show fields
pub glXChooseFBConfig: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_int, _: *mut c_int) -> *mut GLXFBConfig, pub glXChooseVisual: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XVisualInfo, pub glXCopyContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext, _: GLXContext, _: c_ulong), pub glXCreateContext: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: GLXContext, _: c_int) -> GLXContext, pub glXCreateGLXPixmap: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: c_ulong) -> c_ulong, pub glXCreateNewContext: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_int, _: GLXContext, _: c_int) -> GLXContext, pub glXCreatePbuffer: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: *const c_int) -> c_ulong, pub glXCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_ulong, _: *const c_int) -> c_ulong, pub glXCreateWindow: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_ulong, _: *const c_int) -> c_ulong, pub glXDestroyContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext), pub glXDestroyGLXPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub glXDestroyPbuffer: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub glXDestroyPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub glXDestroyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub glXGetClientString: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *const c_char, pub glXGetConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: c_int, _: *mut c_int) -> c_int, pub glXGetCurrentContext: unsafe extern "C" fn() -> GLXContext, pub glXGetCurrentDisplay: unsafe extern "C" fn() -> *mut Display, pub glXGetCurrentDrawable: unsafe extern "C" fn() -> c_ulong, pub glXGetCurrentReadDrawable: unsafe extern "C" fn() -> c_ulong, pub glXGetFBConfigAttrib: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_int, _: *mut c_int) -> c_int, pub glXGetFBConfigs: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut GLXFBConfig, pub glXGetProcAddress: unsafe extern "C" fn(_: *const c_uchar) -> Option<unsafe extern "C" fn()>, pub glXGetProcAddressARB: unsafe extern "C" fn(_: *const c_uchar) -> Option<unsafe extern "C" fn()>, pub glXGetSelectedEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong), pub glXGetVisualFromFBConfig: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig) -> *mut XVisualInfo, pub glXIsDirect: unsafe extern "C" fn(_: *mut Display, _: GLXContext) -> c_int, pub glXMakeContextCurrent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GLXContext) -> c_int, pub glXMakeCurrent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GLXContext) -> c_int, pub glXQueryContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext, _: c_int, _: *mut c_int) -> c_int, pub glXQueryDrawable: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_uint), pub glXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int, pub glXQueryExtensionsString: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *const c_char, pub glXQueryServerString: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> *const c_char, pub glXQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int, pub glXSelectEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong), pub glXSwapBuffers: unsafe extern "C" fn(_: *mut Display, _: c_ulong), pub glXUseXFont: unsafe extern "C" fn(_: c_ulong, _: c_int, _: c_int, _: c_int), pub glXWaitGL: unsafe extern "C" fn(), pub glXWaitX: unsafe extern "C" fn(), // some fields omitted
Fields
glXChooseFBConfig: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *const c_int, _: *mut c_int) -> *mut GLXFBConfig
glXChooseVisual: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut XVisualInfo
glXCopyContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext, _: GLXContext, _: c_ulong)
glXCreateContext: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: GLXContext, _: c_int) -> GLXContext
glXCreateGLXPixmap: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: c_ulong) -> c_ulong
glXCreateNewContext: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_int, _: GLXContext, _: c_int) -> GLXContext
glXCreatePbuffer: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: *const c_int) -> c_ulong
glXCreatePixmap: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_ulong, _: *const c_int) -> c_ulong
glXCreateWindow: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_ulong, _: *const c_int) -> c_ulong
glXDestroyContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext)
glXDestroyGLXPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong)
glXDestroyPbuffer: unsafe extern "C" fn(_: *mut Display, _: c_ulong)
glXDestroyPixmap: unsafe extern "C" fn(_: *mut Display, _: c_ulong)
glXDestroyWindow: unsafe extern "C" fn(_: *mut Display, _: c_ulong)
glXGetClientString: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *const c_char
glXGetConfig: unsafe extern "C" fn(_: *mut Display, _: *mut XVisualInfo, _: c_int, _: *mut c_int) -> c_int
glXGetCurrentContext: unsafe extern "C" fn() -> GLXContext
glXGetCurrentDisplay: unsafe extern "C" fn() -> *mut Display
glXGetCurrentDrawable: unsafe extern "C" fn() -> c_ulong
glXGetCurrentReadDrawable: unsafe extern "C" fn() -> c_ulong
glXGetFBConfigAttrib: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig, _: c_int, _: *mut c_int) -> c_int
glXGetFBConfigs: unsafe extern "C" fn(_: *mut Display, _: c_int, _: *mut c_int) -> *mut GLXFBConfig
glXGetProcAddress: unsafe extern "C" fn(_: *const c_uchar) -> Option<unsafe extern "C" fn()>
glXGetProcAddressARB: unsafe extern "C" fn(_: *const c_uchar) -> Option<unsafe extern "C" fn()>
glXGetSelectedEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: *mut c_ulong)
glXGetVisualFromFBConfig: unsafe extern "C" fn(_: *mut Display, _: GLXFBConfig) -> *mut XVisualInfo
glXIsDirect: unsafe extern "C" fn(_: *mut Display, _: GLXContext) -> c_int
glXMakeContextCurrent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong, _: GLXContext) -> c_int
glXMakeCurrent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: GLXContext) -> c_int
glXQueryContext: unsafe extern "C" fn(_: *mut Display, _: GLXContext, _: c_int, _: *mut c_int) -> c_int
glXQueryDrawable: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_int, _: *mut c_uint)
glXQueryExtension: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int
glXQueryExtensionsString: unsafe extern "C" fn(_: *mut Display, _: c_int) -> *const c_char
glXQueryServerString: unsafe extern "C" fn(_: *mut Display, _: c_int, _: c_int) -> *const c_char
glXQueryVersion: unsafe extern "C" fn(_: *mut Display, _: *mut c_int, _: *mut c_int) -> c_int
glXSelectEvent: unsafe extern "C" fn(_: *mut Display, _: c_ulong, _: c_ulong)
glXSwapBuffers: unsafe extern "C" fn(_: *mut Display, _: c_ulong)
glXUseXFont: unsafe extern "C" fn(_: c_ulong, _: c_int, _: c_int, _: c_int)
glXWaitGL: unsafe extern "C" fn()
glXWaitX: unsafe extern "C" fn()
Implementations
impl Glx
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,