Struct surfman::platform::generic::egl::ffi::EGLExtensionFunctions

source ·
pub(crate) struct EGLExtensionFunctions {
    pub(crate) CreateImageKHR: extern "C" fn(dpy: *const c_void, ctx: *const c_void, target: c_uint, buffer: *mut EGLClientBufferOpaque, attrib_list: *const i32) -> *mut EGLImageKHROpaque,
    pub(crate) DestroyImageKHR: extern "C" fn(dpy: *const c_void, image: *mut EGLImageKHROpaque) -> c_uint,
    pub(crate) ImageTargetTexture2DOES: extern "C" fn(target: c_uint, image: *mut EGLImageKHROpaque),
    pub(crate) CreateDeviceANGLE: Option<extern "C" fn(device_type: i32, native_device: *mut c_void, attrib_list: *const isize) -> *const c_void>,
    pub(crate) GetNativeClientBufferANDROID: Option<extern "C" fn(buffer: *const c_void) -> *mut EGLClientBufferOpaque>,
    pub(crate) QueryDeviceAttribEXT: Option<extern "C" fn(device: *const c_void, attribute: i32, value: *mut isize) -> c_uint>,
    pub(crate) QueryDisplayAttribEXT: Option<extern "C" fn(dpy: *const c_void, attribute: i32, value: *mut isize) -> c_uint>,
    pub(crate) QuerySurfacePointerANGLE: Option<extern "C" fn(dpy: *const c_void, surface: *const c_void, attribute: i32, value: *mut *mut c_void) -> c_uint>,
}

Fields§

§CreateImageKHR: extern "C" fn(dpy: *const c_void, ctx: *const c_void, target: c_uint, buffer: *mut EGLClientBufferOpaque, attrib_list: *const i32) -> *mut EGLImageKHROpaque§DestroyImageKHR: extern "C" fn(dpy: *const c_void, image: *mut EGLImageKHROpaque) -> c_uint§ImageTargetTexture2DOES: extern "C" fn(target: c_uint, image: *mut EGLImageKHROpaque)§CreateDeviceANGLE: Option<extern "C" fn(device_type: i32, native_device: *mut c_void, attrib_list: *const isize) -> *const c_void>§GetNativeClientBufferANDROID: Option<extern "C" fn(buffer: *const c_void) -> *mut EGLClientBufferOpaque>§QueryDeviceAttribEXT: Option<extern "C" fn(device: *const c_void, attribute: i32, value: *mut isize) -> c_uint>§QueryDisplayAttribEXT: Option<extern "C" fn(dpy: *const c_void, attribute: i32, value: *mut isize) -> c_uint>§QuerySurfacePointerANGLE: Option<extern "C" fn(dpy: *const c_void, surface: *const c_void, attribute: i32, value: *mut *mut c_void) -> c_uint>

Auto Trait Implementations§

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>,

§

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>,

§

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.