pub struct LibEgl {Show 34 fields
pub eglBindAPI: Option<unsafe extern "C" fn(_: u32) -> u32>,
pub eglChooseConfig: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i32, _: *mut *mut c_void, _: i32, _: *mut i32) -> u32>,
pub eglCopyBuffers: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32) -> u32>,
pub eglCreateContext: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const i32) -> *mut c_void>,
pub eglCreatePbufferSurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *const i32) -> *mut c_void>,
pub eglCreatePixmapSurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const i32) -> *mut c_void>,
pub eglCreateWindowSurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const i32) -> *mut c_void>,
pub eglDestroyContext: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u32>,
pub eglDestroySurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u32>,
pub eglGetConfigAttrib: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut i32) -> u32>,
pub eglGetConfigs: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut *mut c_void, _: i32, _: *mut i32) -> u32>,
pub eglGetCurrentDisplay: Option<unsafe extern "C" fn() -> *mut c_void>,
pub eglGetCurrentSurface: Option<unsafe extern "C" fn(_: i32) -> *mut c_void>,
pub eglGetDisplay: Option<unsafe extern "C" fn(_: *mut ()) -> *mut c_void>,
pub eglGetError: Option<unsafe extern "C" fn() -> i32>,
pub eglGetProcAddress: Option<unsafe extern "C" fn(_: *const i8) -> *mut c_void>,
pub eglInitialize: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i32, _: *mut i32) -> u32>,
pub eglMakeCurrent: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> u32>,
pub eglQueryContext: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut i32) -> u32>,
pub eglQueryString: Option<unsafe extern "C" fn(_: *mut c_void, _: i32) -> *const i8>,
pub eglQuerySurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut i32) -> u32>,
pub eglSwapBuffers: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u32>,
pub eglTerminate: Option<unsafe extern "C" fn(_: *mut c_void) -> u32>,
pub eglWaitGL: Option<unsafe extern "C" fn() -> u32>,
pub eglWaitNative: Option<unsafe extern "C" fn(_: i32) -> u32>,
pub eglBindTexImage: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32) -> u32>,
pub eglReleaseTexImage: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32) -> u32>,
pub eglSurfaceAttrib: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: i32) -> u32>,
pub eglSwapInterval: Option<unsafe extern "C" fn(_: *mut c_void, _: i32) -> u32>,
pub eglCreateImageKHR: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut c_void, _: *const i32) -> *mut c_void>,
pub eglExportDMABUFImageQueryMESA: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut i32, _: *mut i32, _: *mut u64) -> u32>,
pub eglExportDMABUFImageMESA: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut i32, _: *mut i32, _: *mut i32) -> u32>,
pub eglGetPlatformDisplayEXT: Option<unsafe extern "C" fn(_: u32, _: *mut c_void, _: *const i32) -> *mut c_void>,
pub glEGLImageTargetTexture2DOES: Option<unsafe extern "C" fn(_: u32, _: *mut c_void)>,
/* private fields */
}
Fields§
§eglBindAPI: Option<unsafe extern "C" fn(_: u32) -> u32>
§eglChooseConfig: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i32, _: *mut *mut c_void, _: i32, _: *mut i32) -> u32>
§eglCopyBuffers: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32) -> u32>
§eglCreateContext: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const i32) -> *mut c_void>
§eglCreatePbufferSurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *const i32) -> *mut c_void>
§eglCreatePixmapSurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const i32) -> *mut c_void>
§eglCreateWindowSurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const i32) -> *mut c_void>
§eglDestroyContext: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u32>
§eglDestroySurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u32>
§eglGetConfigAttrib: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut i32) -> u32>
§eglGetConfigs: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut *mut c_void, _: i32, _: *mut i32) -> u32>
§eglGetCurrentDisplay: Option<unsafe extern "C" fn() -> *mut c_void>
§eglGetCurrentSurface: Option<unsafe extern "C" fn(_: i32) -> *mut c_void>
§eglGetDisplay: Option<unsafe extern "C" fn(_: *mut ()) -> *mut c_void>
§eglGetError: Option<unsafe extern "C" fn() -> i32>
§eglGetProcAddress: Option<unsafe extern "C" fn(_: *const i8) -> *mut c_void>
§eglInitialize: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut i32, _: *mut i32) -> u32>
§eglMakeCurrent: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> u32>
§eglQueryContext: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut i32) -> u32>
§eglQueryString: Option<unsafe extern "C" fn(_: *mut c_void, _: i32) -> *const i8>
§eglQuerySurface: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: *mut i32) -> u32>
§eglSwapBuffers: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void) -> u32>
§eglTerminate: Option<unsafe extern "C" fn(_: *mut c_void) -> u32>
§eglWaitGL: Option<unsafe extern "C" fn() -> u32>
§eglWaitNative: Option<unsafe extern "C" fn(_: i32) -> u32>
§eglBindTexImage: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32) -> u32>
§eglReleaseTexImage: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32) -> u32>
§eglSurfaceAttrib: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: i32, _: i32) -> u32>
§eglSwapInterval: Option<unsafe extern "C" fn(_: *mut c_void, _: i32) -> u32>
§eglCreateImageKHR: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut c_void, _: *const i32) -> *mut c_void>
§eglExportDMABUFImageQueryMESA: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut i32, _: *mut i32, _: *mut u64) -> u32>
§eglExportDMABUFImageMESA: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: *mut i32, _: *mut i32, _: *mut i32) -> u32>
§eglGetPlatformDisplayEXT: Option<unsafe extern "C" fn(_: u32, _: *mut c_void, _: *const i32) -> *mut c_void>
§glEGLImageTargetTexture2DOES: Option<unsafe extern "C" fn(_: u32, _: *mut c_void)>
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LibEgl
impl !Send for LibEgl
impl !Sync for LibEgl
impl Unpin for LibEgl
impl UnwindSafe for LibEgl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more