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