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§

§

impl LibEgl

pub fn try_load() -> Option<LibEgl>

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> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.