LibEgl

Struct LibEgl 

Source
pub struct LibEgl {
Show 36 fields pub eglPresentationTimeANDROID: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, i64)>, 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, u64) -> 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, u64, *const i32) -> *mut c_void>, pub eglCreateWindowSurface: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, u64, *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 u8) -> *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 u8>, 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 eglDestroyImageKHR: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> u32>, 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§

§eglPresentationTimeANDROID: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, i64)>§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, u64) -> 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, u64, *const i32) -> *mut c_void>§eglCreateWindowSurface: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, u64, *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 u8) -> *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 u8>§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>§eglDestroyImageKHR: Option<unsafe extern "C" fn(*mut c_void, *mut c_void) -> u32>§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 Freeze for LibEgl

§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.