Struct khronos_egl::RawDynamic
source · pub(crate) struct RawDynamic<L> {Show 46 fields
pub(crate) lib: L,
pub(crate) version: Version,
pub(crate) eglChooseConfig: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: *const Int, _: *mut EGLConfig, _: Int, _: *mut Int) -> Boolean>,
pub(crate) eglCopyBuffers: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: NativePixmapType) -> Boolean>,
pub(crate) eglCreateContext: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: EGLContext, _: *const Int) -> EGLContext>,
pub(crate) eglCreatePbufferSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: *const Int) -> EGLSurface>,
pub(crate) eglCreatePixmapSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: NativePixmapType, _: *const Int) -> EGLSurface>,
pub(crate) eglCreateWindowSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: NativeWindowType, _: *const Int) -> EGLSurface>,
pub(crate) eglDestroyContext: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLContext) -> Boolean>,
pub(crate) eglDestroySurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface) -> Boolean>,
pub(crate) eglGetConfigAttrib: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: Int, _: *mut Int) -> Boolean>,
pub(crate) eglGetConfigs: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: *mut EGLConfig, _: Int, _: *mut Int) -> Boolean>,
pub(crate) eglGetCurrentDisplay: MaybeUninit<unsafe extern "system" fn() -> EGLDisplay>,
pub(crate) eglGetCurrentSurface: MaybeUninit<unsafe extern "system" fn(_: Int) -> EGLSurface>,
pub(crate) eglGetDisplay: MaybeUninit<unsafe extern "system" fn(_: NativeDisplayType) -> EGLDisplay>,
pub(crate) eglGetError: MaybeUninit<unsafe extern "system" fn() -> Int>,
pub(crate) eglGetProcAddress: MaybeUninit<unsafe extern "system" fn(_: *const c_char) -> extern "system" fn()>,
pub(crate) eglInitialize: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: *mut Int, _: *mut Int) -> Boolean>,
pub(crate) eglMakeCurrent: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: EGLSurface, _: EGLContext) -> Boolean>,
pub(crate) eglQueryContext: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLContext, _: Int, _: *mut Int) -> Boolean>,
pub(crate) eglQueryString: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Int) -> *const c_char>,
pub(crate) eglQuerySurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int, _: *mut Int) -> Boolean>,
pub(crate) eglSwapBuffers: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface) -> Boolean>,
pub(crate) eglTerminate: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay) -> Boolean>,
pub(crate) eglWaitGL: MaybeUninit<unsafe extern "system" fn() -> Boolean>,
pub(crate) eglWaitNative: MaybeUninit<unsafe extern "system" fn(_: Int) -> Boolean>,
pub(crate) eglBindTexImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int) -> Boolean>,
pub(crate) eglReleaseTexImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int) -> Boolean>,
pub(crate) eglSurfaceAttrib: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int, _: Int) -> Boolean>,
pub(crate) eglSwapInterval: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Int) -> Boolean>,
pub(crate) eglBindAPI: MaybeUninit<unsafe extern "system" fn(_: Enum) -> Boolean>,
pub(crate) eglQueryAPI: MaybeUninit<unsafe extern "system" fn() -> Enum>,
pub(crate) eglCreatePbufferFromClientBuffer: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Enum, _: EGLClientBuffer, _: EGLConfig, _: *const Int) -> EGLSurface>,
pub(crate) eglReleaseThread: MaybeUninit<unsafe extern "system" fn() -> Boolean>,
pub(crate) eglWaitClient: MaybeUninit<unsafe extern "system" fn() -> Boolean>,
pub(crate) eglGetCurrentContext: MaybeUninit<unsafe extern "system" fn() -> EGLContext>,
pub(crate) eglCreateSync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Enum, _: *const Attrib) -> EGLSync>,
pub(crate) eglDestroySync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync) -> Boolean>,
pub(crate) eglClientWaitSync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync, _: Int, _: Time) -> Int>,
pub(crate) eglGetSyncAttrib: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync, _: Int, _: *mut Attrib) -> Boolean>,
pub(crate) eglCreateImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLContext, _: Enum, _: EGLClientBuffer, _: *const Attrib) -> EGLImage>,
pub(crate) eglDestroyImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLImage) -> Boolean>,
pub(crate) eglGetPlatformDisplay: MaybeUninit<unsafe extern "system" fn(_: Enum, _: *mut c_void, _: *const Attrib) -> EGLDisplay>,
pub(crate) eglCreatePlatformWindowSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: *mut c_void, _: *const Attrib) -> EGLSurface>,
pub(crate) eglCreatePlatformPixmapSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: *mut c_void, _: *const Attrib) -> EGLSurface>,
pub(crate) eglWaitSync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync, _: Int) -> Boolean>,
}
Fields§
§lib: L
§version: Version
§eglChooseConfig: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: *const Int, _: *mut EGLConfig, _: Int, _: *mut Int) -> Boolean>
§eglCopyBuffers: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: NativePixmapType) -> Boolean>
§eglCreateContext: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: EGLContext, _: *const Int) -> EGLContext>
§eglCreatePbufferSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: *const Int) -> EGLSurface>
§eglCreatePixmapSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: NativePixmapType, _: *const Int) -> EGLSurface>
§eglCreateWindowSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: NativeWindowType, _: *const Int) -> EGLSurface>
§eglDestroyContext: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLContext) -> Boolean>
§eglDestroySurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface) -> Boolean>
§eglGetConfigAttrib: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: Int, _: *mut Int) -> Boolean>
§eglGetConfigs: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: *mut EGLConfig, _: Int, _: *mut Int) -> Boolean>
§eglGetCurrentDisplay: MaybeUninit<unsafe extern "system" fn() -> EGLDisplay>
§eglGetCurrentSurface: MaybeUninit<unsafe extern "system" fn(_: Int) -> EGLSurface>
§eglGetDisplay: MaybeUninit<unsafe extern "system" fn(_: NativeDisplayType) -> EGLDisplay>
§eglGetError: MaybeUninit<unsafe extern "system" fn() -> Int>
§eglGetProcAddress: MaybeUninit<unsafe extern "system" fn(_: *const c_char) -> extern "system" fn()>
§eglInitialize: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: *mut Int, _: *mut Int) -> Boolean>
§eglMakeCurrent: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: EGLSurface, _: EGLContext) -> Boolean>
§eglQueryContext: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLContext, _: Int, _: *mut Int) -> Boolean>
§eglQueryString: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Int) -> *const c_char>
§eglQuerySurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int, _: *mut Int) -> Boolean>
§eglSwapBuffers: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface) -> Boolean>
§eglTerminate: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay) -> Boolean>
§eglWaitGL: MaybeUninit<unsafe extern "system" fn() -> Boolean>
§eglWaitNative: MaybeUninit<unsafe extern "system" fn(_: Int) -> Boolean>
§eglBindTexImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int) -> Boolean>
§eglReleaseTexImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int) -> Boolean>
§eglSurfaceAttrib: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSurface, _: Int, _: Int) -> Boolean>
§eglSwapInterval: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Int) -> Boolean>
§eglBindAPI: MaybeUninit<unsafe extern "system" fn(_: Enum) -> Boolean>
§eglQueryAPI: MaybeUninit<unsafe extern "system" fn() -> Enum>
§eglCreatePbufferFromClientBuffer: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Enum, _: EGLClientBuffer, _: EGLConfig, _: *const Int) -> EGLSurface>
§eglReleaseThread: MaybeUninit<unsafe extern "system" fn() -> Boolean>
§eglWaitClient: MaybeUninit<unsafe extern "system" fn() -> Boolean>
§eglGetCurrentContext: MaybeUninit<unsafe extern "system" fn() -> EGLContext>
§eglCreateSync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: Enum, _: *const Attrib) -> EGLSync>
§eglDestroySync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync) -> Boolean>
§eglClientWaitSync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync, _: Int, _: Time) -> Int>
§eglGetSyncAttrib: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync, _: Int, _: *mut Attrib) -> Boolean>
§eglCreateImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLContext, _: Enum, _: EGLClientBuffer, _: *const Attrib) -> EGLImage>
§eglDestroyImage: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLImage) -> Boolean>
§eglGetPlatformDisplay: MaybeUninit<unsafe extern "system" fn(_: Enum, _: *mut c_void, _: *const Attrib) -> EGLDisplay>
§eglCreatePlatformWindowSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: *mut c_void, _: *const Attrib) -> EGLSurface>
§eglCreatePlatformPixmapSurface: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLConfig, _: *mut c_void, _: *const Attrib) -> EGLSurface>
§eglWaitSync: MaybeUninit<unsafe extern "system" fn(_: EGLDisplay, _: EGLSync, _: Int) -> Boolean>
Implementations§
source§impl<L> RawDynamic<L>
impl<L> RawDynamic<L>
sourcepub unsafe fn set_version(&mut self, version: Version)
pub unsafe fn set_version(&mut self, version: Version)
Sets the EGL version.
Auto Trait Implementations§
impl<L> Freeze for RawDynamic<L>where
L: Freeze,
impl<L> RefUnwindSafe for RawDynamic<L>where
L: RefUnwindSafe,
impl<L> Send for RawDynamic<L>where
L: Send,
impl<L> Sync for RawDynamic<L>where
L: Sync,
impl<L> Unpin for RawDynamic<L>where
L: Unpin,
impl<L> UnwindSafe for RawDynamic<L>where
L: UnwindSafe,
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