Struct khronos_egl::Dynamic

source ·
pub struct Dynamic<L, A> { /* private fields */ }
Expand description

Dynamic EGL API interface.

The first type parameter is the type of the underlying library handle. The second Dynamic type parameter gives the EGL API version provided by the library.

This type is only available when the dynamic feature is enabled. In most cases, you may prefer to directly use the DynamicInstance type.

Implementations§

source§

impl<L, A> Dynamic<L, A>

source

pub fn library(&self) -> &L

Return the underlying EGL library.

source

pub fn version(&self) -> Version

Returns the provided EGL version.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_0>

source

pub unsafe fn load_from(lib: L) -> Result<Dynamic<L, EGL1_0>, Error>

Load the EGL API symbols from the given library.

This will load the most recent API provided by the library, which is at least EGL 1.0. You can check what version has actually been loaded using Dynamic::version, and/or convert to a more recent version using try_into.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_0>

source

pub unsafe fn load_required( lib: L ) -> Result<Dynamic<L, EGL1_0>, LoadError<Error>>

Load the EGL API symbols from the given library.

The second Dynamic type parameter gives the EGL API version expected to be provided by the library.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_1>

source

pub unsafe fn load_required( lib: L ) -> Result<Dynamic<L, EGL1_1>, LoadError<Error>>

Load the EGL API symbols from the given library.

The second Dynamic type parameter gives the EGL API version expected to be provided by the library.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_2>

source

pub unsafe fn load_required( lib: L ) -> Result<Dynamic<L, EGL1_2>, LoadError<Error>>

Load the EGL API symbols from the given library.

The second Dynamic type parameter gives the EGL API version expected to be provided by the library.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_3>

source

pub unsafe fn load_required( lib: L ) -> Result<Dynamic<L, EGL1_3>, LoadError<Error>>

Load the EGL API symbols from the given library.

The second Dynamic type parameter gives the EGL API version expected to be provided by the library.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_4>

source

pub unsafe fn load_required( lib: L ) -> Result<Dynamic<L, EGL1_4>, LoadError<Error>>

Load the EGL API symbols from the given library.

The second Dynamic type parameter gives the EGL API version expected to be provided by the library.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

source§

impl<L: Borrow<Library>> Dynamic<L, EGL1_5>

source

pub unsafe fn load_required( lib: L ) -> Result<Dynamic<L, EGL1_5>, LoadError<Error>>

Load the EGL API symbols from the given library.

The second Dynamic type parameter gives the EGL API version expected to be provided by the library.

§Safety

This is fundamentally unsafe since there are no guaranties the input library complies to the EGL API.

Trait Implementations§

source§

impl<L, A> Api for Dynamic<L, A>

source§

fn version(&self) -> Version

Returns the provided EGL version.

source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_1>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_0>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_2>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_0>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_3>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_0>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_4>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_0>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_5>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_0>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_2>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_1>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_3>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_1>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_4>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_1>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_5>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_1>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_3>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_2>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_4>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_2>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_5>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_2>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_4>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_3>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_5>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_3>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library>> AsRef<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_5>

source§

fn as_ref(&self) -> &Dynamic<L, EGL1_4>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<L: Borrow<Library> + Debug, A> Debug for Dynamic<L, A>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_1>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_0>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_2>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_0>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_3>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_0>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_4>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_0>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_5>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_0>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_2>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_1>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_3>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_1>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_4>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_1>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_5>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_1>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_3>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_2>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_4>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_2>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_5>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_2>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_4>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_3>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_5>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_3>

source§

impl<L: Borrow<Library>> Downcast<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_5>

source§

fn downcast(&self) -> &Dynamic<L, EGL1_4>

source§

impl<L: Borrow<Library>> EGL1_0 for Dynamic<L, EGL1_0>

source§

unsafe fn eglChooseConfig( &self, display: EGLDisplay, attrib_list: *const Int, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglCopyBuffers( &self, display: EGLDisplay, surface: EGLSurface, target: NativePixmapType ) -> Boolean

source§

unsafe fn eglCreateContext( &self, display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: *const Int ) -> EGLContext

source§

unsafe fn eglCreatePbufferSurface( &self, display: EGLDisplay, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreatePixmapSurface( &self, display: EGLDisplay, config: EGLConfig, pixmap: NativePixmapType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreateWindowSurface( &self, display: EGLDisplay, config: EGLConfig, win: NativeWindowType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglDestroyContext( &self, display: EGLDisplay, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglDestroySurface( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglGetConfigAttrib( &self, display: EGLDisplay, config: EGLConfig, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglGetConfigs( &self, display: EGLDisplay, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglGetCurrentDisplay(&self) -> EGLDisplay

source§

unsafe fn eglGetCurrentSurface(&self, readdraw: Int) -> EGLSurface

source§

unsafe fn eglGetDisplay(&self, display_id: NativeDisplayType) -> EGLDisplay

source§

unsafe fn eglGetError(&self) -> Int

source§

unsafe fn eglGetProcAddress( &self, procname: *const c_char ) -> extern "system" fn()

source§

unsafe fn eglInitialize( &self, display: EGLDisplay, major: *mut Int, minor: *mut Int ) -> Boolean

source§

unsafe fn eglMakeCurrent( &self, display: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglQueryContext( &self, display: EGLDisplay, ctx: EGLContext, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglQueryString(&self, display: EGLDisplay, name: Int) -> *const c_char

source§

unsafe fn eglQuerySurface( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglSwapBuffers( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglTerminate(&self, display: EGLDisplay) -> Boolean

source§

unsafe fn eglWaitGL(&self) -> Boolean

source§

unsafe fn eglWaitNative(&self, engine: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_0 for Dynamic<L, EGL1_1>

source§

unsafe fn eglChooseConfig( &self, display: EGLDisplay, attrib_list: *const Int, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglCopyBuffers( &self, display: EGLDisplay, surface: EGLSurface, target: NativePixmapType ) -> Boolean

source§

unsafe fn eglCreateContext( &self, display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: *const Int ) -> EGLContext

source§

unsafe fn eglCreatePbufferSurface( &self, display: EGLDisplay, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreatePixmapSurface( &self, display: EGLDisplay, config: EGLConfig, pixmap: NativePixmapType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreateWindowSurface( &self, display: EGLDisplay, config: EGLConfig, win: NativeWindowType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglDestroyContext( &self, display: EGLDisplay, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglDestroySurface( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglGetConfigAttrib( &self, display: EGLDisplay, config: EGLConfig, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglGetConfigs( &self, display: EGLDisplay, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglGetCurrentDisplay(&self) -> EGLDisplay

source§

unsafe fn eglGetCurrentSurface(&self, readdraw: Int) -> EGLSurface

source§

unsafe fn eglGetDisplay(&self, display_id: NativeDisplayType) -> EGLDisplay

source§

unsafe fn eglGetError(&self) -> Int

source§

unsafe fn eglGetProcAddress( &self, procname: *const c_char ) -> extern "system" fn()

source§

unsafe fn eglInitialize( &self, display: EGLDisplay, major: *mut Int, minor: *mut Int ) -> Boolean

source§

unsafe fn eglMakeCurrent( &self, display: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglQueryContext( &self, display: EGLDisplay, ctx: EGLContext, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglQueryString(&self, display: EGLDisplay, name: Int) -> *const c_char

source§

unsafe fn eglQuerySurface( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglSwapBuffers( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglTerminate(&self, display: EGLDisplay) -> Boolean

source§

unsafe fn eglWaitGL(&self) -> Boolean

source§

unsafe fn eglWaitNative(&self, engine: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_0 for Dynamic<L, EGL1_2>

source§

unsafe fn eglChooseConfig( &self, display: EGLDisplay, attrib_list: *const Int, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglCopyBuffers( &self, display: EGLDisplay, surface: EGLSurface, target: NativePixmapType ) -> Boolean

source§

unsafe fn eglCreateContext( &self, display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: *const Int ) -> EGLContext

source§

unsafe fn eglCreatePbufferSurface( &self, display: EGLDisplay, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreatePixmapSurface( &self, display: EGLDisplay, config: EGLConfig, pixmap: NativePixmapType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreateWindowSurface( &self, display: EGLDisplay, config: EGLConfig, win: NativeWindowType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglDestroyContext( &self, display: EGLDisplay, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglDestroySurface( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglGetConfigAttrib( &self, display: EGLDisplay, config: EGLConfig, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglGetConfigs( &self, display: EGLDisplay, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglGetCurrentDisplay(&self) -> EGLDisplay

source§

unsafe fn eglGetCurrentSurface(&self, readdraw: Int) -> EGLSurface

source§

unsafe fn eglGetDisplay(&self, display_id: NativeDisplayType) -> EGLDisplay

source§

unsafe fn eglGetError(&self) -> Int

source§

unsafe fn eglGetProcAddress( &self, procname: *const c_char ) -> extern "system" fn()

source§

unsafe fn eglInitialize( &self, display: EGLDisplay, major: *mut Int, minor: *mut Int ) -> Boolean

source§

unsafe fn eglMakeCurrent( &self, display: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglQueryContext( &self, display: EGLDisplay, ctx: EGLContext, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglQueryString(&self, display: EGLDisplay, name: Int) -> *const c_char

source§

unsafe fn eglQuerySurface( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglSwapBuffers( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglTerminate(&self, display: EGLDisplay) -> Boolean

source§

unsafe fn eglWaitGL(&self) -> Boolean

source§

unsafe fn eglWaitNative(&self, engine: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_0 for Dynamic<L, EGL1_3>

source§

unsafe fn eglChooseConfig( &self, display: EGLDisplay, attrib_list: *const Int, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglCopyBuffers( &self, display: EGLDisplay, surface: EGLSurface, target: NativePixmapType ) -> Boolean

source§

unsafe fn eglCreateContext( &self, display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: *const Int ) -> EGLContext

source§

unsafe fn eglCreatePbufferSurface( &self, display: EGLDisplay, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreatePixmapSurface( &self, display: EGLDisplay, config: EGLConfig, pixmap: NativePixmapType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreateWindowSurface( &self, display: EGLDisplay, config: EGLConfig, win: NativeWindowType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglDestroyContext( &self, display: EGLDisplay, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglDestroySurface( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglGetConfigAttrib( &self, display: EGLDisplay, config: EGLConfig, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglGetConfigs( &self, display: EGLDisplay, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglGetCurrentDisplay(&self) -> EGLDisplay

source§

unsafe fn eglGetCurrentSurface(&self, readdraw: Int) -> EGLSurface

source§

unsafe fn eglGetDisplay(&self, display_id: NativeDisplayType) -> EGLDisplay

source§

unsafe fn eglGetError(&self) -> Int

source§

unsafe fn eglGetProcAddress( &self, procname: *const c_char ) -> extern "system" fn()

source§

unsafe fn eglInitialize( &self, display: EGLDisplay, major: *mut Int, minor: *mut Int ) -> Boolean

source§

unsafe fn eglMakeCurrent( &self, display: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglQueryContext( &self, display: EGLDisplay, ctx: EGLContext, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglQueryString(&self, display: EGLDisplay, name: Int) -> *const c_char

source§

unsafe fn eglQuerySurface( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglSwapBuffers( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglTerminate(&self, display: EGLDisplay) -> Boolean

source§

unsafe fn eglWaitGL(&self) -> Boolean

source§

unsafe fn eglWaitNative(&self, engine: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_0 for Dynamic<L, EGL1_4>

source§

unsafe fn eglChooseConfig( &self, display: EGLDisplay, attrib_list: *const Int, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglCopyBuffers( &self, display: EGLDisplay, surface: EGLSurface, target: NativePixmapType ) -> Boolean

source§

unsafe fn eglCreateContext( &self, display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: *const Int ) -> EGLContext

source§

unsafe fn eglCreatePbufferSurface( &self, display: EGLDisplay, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreatePixmapSurface( &self, display: EGLDisplay, config: EGLConfig, pixmap: NativePixmapType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreateWindowSurface( &self, display: EGLDisplay, config: EGLConfig, win: NativeWindowType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglDestroyContext( &self, display: EGLDisplay, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglDestroySurface( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglGetConfigAttrib( &self, display: EGLDisplay, config: EGLConfig, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglGetConfigs( &self, display: EGLDisplay, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglGetCurrentDisplay(&self) -> EGLDisplay

source§

unsafe fn eglGetCurrentSurface(&self, readdraw: Int) -> EGLSurface

source§

unsafe fn eglGetDisplay(&self, display_id: NativeDisplayType) -> EGLDisplay

source§

unsafe fn eglGetError(&self) -> Int

source§

unsafe fn eglGetProcAddress( &self, procname: *const c_char ) -> extern "system" fn()

source§

unsafe fn eglInitialize( &self, display: EGLDisplay, major: *mut Int, minor: *mut Int ) -> Boolean

source§

unsafe fn eglMakeCurrent( &self, display: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglQueryContext( &self, display: EGLDisplay, ctx: EGLContext, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglQueryString(&self, display: EGLDisplay, name: Int) -> *const c_char

source§

unsafe fn eglQuerySurface( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglSwapBuffers( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglTerminate(&self, display: EGLDisplay) -> Boolean

source§

unsafe fn eglWaitGL(&self) -> Boolean

source§

unsafe fn eglWaitNative(&self, engine: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_0 for Dynamic<L, EGL1_5>

source§

unsafe fn eglChooseConfig( &self, display: EGLDisplay, attrib_list: *const Int, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglCopyBuffers( &self, display: EGLDisplay, surface: EGLSurface, target: NativePixmapType ) -> Boolean

source§

unsafe fn eglCreateContext( &self, display: EGLDisplay, config: EGLConfig, share_context: EGLContext, attrib_list: *const Int ) -> EGLContext

source§

unsafe fn eglCreatePbufferSurface( &self, display: EGLDisplay, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreatePixmapSurface( &self, display: EGLDisplay, config: EGLConfig, pixmap: NativePixmapType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglCreateWindowSurface( &self, display: EGLDisplay, config: EGLConfig, win: NativeWindowType, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglDestroyContext( &self, display: EGLDisplay, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglDestroySurface( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglGetConfigAttrib( &self, display: EGLDisplay, config: EGLConfig, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglGetConfigs( &self, display: EGLDisplay, configs: *mut EGLConfig, config_size: Int, num_config: *mut Int ) -> Boolean

source§

unsafe fn eglGetCurrentDisplay(&self) -> EGLDisplay

source§

unsafe fn eglGetCurrentSurface(&self, readdraw: Int) -> EGLSurface

source§

unsafe fn eglGetDisplay(&self, display_id: NativeDisplayType) -> EGLDisplay

source§

unsafe fn eglGetError(&self) -> Int

source§

unsafe fn eglGetProcAddress( &self, procname: *const c_char ) -> extern "system" fn()

source§

unsafe fn eglInitialize( &self, display: EGLDisplay, major: *mut Int, minor: *mut Int ) -> Boolean

source§

unsafe fn eglMakeCurrent( &self, display: EGLDisplay, draw: EGLSurface, read: EGLSurface, ctx: EGLContext ) -> Boolean

source§

unsafe fn eglQueryContext( &self, display: EGLDisplay, ctx: EGLContext, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglQueryString(&self, display: EGLDisplay, name: Int) -> *const c_char

source§

unsafe fn eglQuerySurface( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: *mut Int ) -> Boolean

source§

unsafe fn eglSwapBuffers( &self, display: EGLDisplay, surface: EGLSurface ) -> Boolean

source§

unsafe fn eglTerminate(&self, display: EGLDisplay) -> Boolean

source§

unsafe fn eglWaitGL(&self) -> Boolean

source§

unsafe fn eglWaitNative(&self, engine: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_1 for Dynamic<L, EGL1_1>

source§

unsafe fn eglBindTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglReleaseTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglSurfaceAttrib( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Int ) -> Boolean

source§

unsafe fn eglSwapInterval(&self, display: EGLDisplay, interval: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_1 for Dynamic<L, EGL1_2>

source§

unsafe fn eglBindTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglReleaseTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglSurfaceAttrib( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Int ) -> Boolean

source§

unsafe fn eglSwapInterval(&self, display: EGLDisplay, interval: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_1 for Dynamic<L, EGL1_3>

source§

unsafe fn eglBindTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglReleaseTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglSurfaceAttrib( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Int ) -> Boolean

source§

unsafe fn eglSwapInterval(&self, display: EGLDisplay, interval: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_1 for Dynamic<L, EGL1_4>

source§

unsafe fn eglBindTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglReleaseTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglSurfaceAttrib( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Int ) -> Boolean

source§

unsafe fn eglSwapInterval(&self, display: EGLDisplay, interval: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_1 for Dynamic<L, EGL1_5>

source§

unsafe fn eglBindTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglReleaseTexImage( &self, display: EGLDisplay, surface: EGLSurface, buffer: Int ) -> Boolean

source§

unsafe fn eglSurfaceAttrib( &self, display: EGLDisplay, surface: EGLSurface, attribute: Int, value: Int ) -> Boolean

source§

unsafe fn eglSwapInterval(&self, display: EGLDisplay, interval: Int) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_2 for Dynamic<L, EGL1_2>

source§

unsafe fn eglBindAPI(&self, api: Enum) -> Boolean

source§

unsafe fn eglQueryAPI(&self) -> Enum

source§

unsafe fn eglCreatePbufferFromClientBuffer( &self, display: EGLDisplay, buftype: Enum, buffer: EGLClientBuffer, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglReleaseThread(&self) -> Boolean

source§

unsafe fn eglWaitClient(&self) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_2 for Dynamic<L, EGL1_3>

source§

unsafe fn eglBindAPI(&self, api: Enum) -> Boolean

source§

unsafe fn eglQueryAPI(&self) -> Enum

source§

unsafe fn eglCreatePbufferFromClientBuffer( &self, display: EGLDisplay, buftype: Enum, buffer: EGLClientBuffer, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglReleaseThread(&self) -> Boolean

source§

unsafe fn eglWaitClient(&self) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_2 for Dynamic<L, EGL1_4>

source§

unsafe fn eglBindAPI(&self, api: Enum) -> Boolean

source§

unsafe fn eglQueryAPI(&self) -> Enum

source§

unsafe fn eglCreatePbufferFromClientBuffer( &self, display: EGLDisplay, buftype: Enum, buffer: EGLClientBuffer, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglReleaseThread(&self) -> Boolean

source§

unsafe fn eglWaitClient(&self) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_2 for Dynamic<L, EGL1_5>

source§

unsafe fn eglBindAPI(&self, api: Enum) -> Boolean

source§

unsafe fn eglQueryAPI(&self) -> Enum

source§

unsafe fn eglCreatePbufferFromClientBuffer( &self, display: EGLDisplay, buftype: Enum, buffer: EGLClientBuffer, config: EGLConfig, attrib_list: *const Int ) -> EGLSurface

source§

unsafe fn eglReleaseThread(&self) -> Boolean

source§

unsafe fn eglWaitClient(&self) -> Boolean

source§

impl<L: Borrow<Library>> EGL1_4 for Dynamic<L, EGL1_4>

source§

impl<L: Borrow<Library>> EGL1_4 for Dynamic<L, EGL1_5>

source§

impl<L: Borrow<Library>> EGL1_5 for Dynamic<L, EGL1_5>

source§

unsafe fn eglCreateSync( &self, display: EGLDisplay, type_: Enum, attrib_list: *const Attrib ) -> EGLSync

source§

unsafe fn eglDestroySync(&self, display: EGLDisplay, sync: EGLSync) -> Boolean

source§

unsafe fn eglClientWaitSync( &self, display: EGLDisplay, sync: EGLSync, flags: Int, timeout: Time ) -> Int

source§

unsafe fn eglGetSyncAttrib( &self, display: EGLDisplay, sync: EGLSync, attribute: Int, value: *mut Attrib ) -> Boolean

source§

unsafe fn eglCreateImage( &self, display: EGLDisplay, ctx: EGLContext, target: Enum, buffer: EGLClientBuffer, attrib_list: *const Attrib ) -> EGLImage

source§

unsafe fn eglDestroyImage( &self, display: EGLDisplay, image: EGLImage ) -> Boolean

source§

unsafe fn eglGetPlatformDisplay( &self, platform: Enum, native_display: *mut c_void, attrib_list: *const Attrib ) -> EGLDisplay

source§

unsafe fn eglCreatePlatformWindowSurface( &self, display: EGLDisplay, config: EGLConfig, native_window: *mut c_void, attrib_list: *const Attrib ) -> EGLSurface

source§

unsafe fn eglCreatePlatformPixmapSurface( &self, display: EGLDisplay, config: EGLConfig, native_pixmap: *mut c_void, attrib_list: *const Attrib ) -> EGLSurface

source§

unsafe fn eglWaitSync( &self, display: EGLDisplay, sync: EGLSync, flags: Int ) -> Boolean

source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_0>

source§

fn from(other: Dynamic<L, EGL1_1>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_0>

source§

fn from(other: Dynamic<L, EGL1_2>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_1>

source§

fn from(other: Dynamic<L, EGL1_2>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_0>

source§

fn from(other: Dynamic<L, EGL1_3>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_1>

source§

fn from(other: Dynamic<L, EGL1_3>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_2>

source§

fn from(other: Dynamic<L, EGL1_3>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_0>

source§

fn from(other: Dynamic<L, EGL1_4>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_1>

source§

fn from(other: Dynamic<L, EGL1_4>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_2>

source§

fn from(other: Dynamic<L, EGL1_4>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_3>

source§

fn from(other: Dynamic<L, EGL1_4>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_0>

source§

fn from(other: Dynamic<L, EGL1_5>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_1>

source§

fn from(other: Dynamic<L, EGL1_5>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_2>

source§

fn from(other: Dynamic<L, EGL1_5>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_3>

source§

fn from(other: Dynamic<L, EGL1_5>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> From<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_4>

source§

fn from(other: Dynamic<L, EGL1_5>) -> Self

Converts to this type from the input type.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_1>

§

type Error = Dynamic<L, EGL1_0>

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

fn try_from(other: Dynamic<L, EGL1_0>) -> Result<Self, Dynamic<L, EGL1_0>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_2>

§

type Error = Dynamic<L, EGL1_0>

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

fn try_from(other: Dynamic<L, EGL1_0>) -> Result<Self, Dynamic<L, EGL1_0>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_3>

§

type Error = Dynamic<L, EGL1_0>

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

fn try_from(other: Dynamic<L, EGL1_0>) -> Result<Self, Dynamic<L, EGL1_0>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_4>

§

type Error = Dynamic<L, EGL1_0>

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

fn try_from(other: Dynamic<L, EGL1_0>) -> Result<Self, Dynamic<L, EGL1_0>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_0>> for Dynamic<L, EGL1_5>

§

type Error = Dynamic<L, EGL1_0>

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

fn try_from(other: Dynamic<L, EGL1_0>) -> Result<Self, Dynamic<L, EGL1_0>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_2>

§

type Error = Dynamic<L, EGL1_1>

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

fn try_from(other: Dynamic<L, EGL1_1>) -> Result<Self, Dynamic<L, EGL1_1>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_3>

§

type Error = Dynamic<L, EGL1_1>

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

fn try_from(other: Dynamic<L, EGL1_1>) -> Result<Self, Dynamic<L, EGL1_1>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_4>

§

type Error = Dynamic<L, EGL1_1>

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

fn try_from(other: Dynamic<L, EGL1_1>) -> Result<Self, Dynamic<L, EGL1_1>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_5>

§

type Error = Dynamic<L, EGL1_1>

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

fn try_from(other: Dynamic<L, EGL1_1>) -> Result<Self, Dynamic<L, EGL1_1>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_3>

§

type Error = Dynamic<L, EGL1_2>

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

fn try_from(other: Dynamic<L, EGL1_2>) -> Result<Self, Dynamic<L, EGL1_2>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_4>

§

type Error = Dynamic<L, EGL1_2>

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

fn try_from(other: Dynamic<L, EGL1_2>) -> Result<Self, Dynamic<L, EGL1_2>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_5>

§

type Error = Dynamic<L, EGL1_2>

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

fn try_from(other: Dynamic<L, EGL1_2>) -> Result<Self, Dynamic<L, EGL1_2>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_4>

§

type Error = Dynamic<L, EGL1_3>

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

fn try_from(other: Dynamic<L, EGL1_3>) -> Result<Self, Dynamic<L, EGL1_3>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_5>

§

type Error = Dynamic<L, EGL1_3>

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

fn try_from(other: Dynamic<L, EGL1_3>) -> Result<Self, Dynamic<L, EGL1_3>>

Performs the conversion.
source§

impl<L: Borrow<Library>> TryFrom<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_5>

§

type Error = Dynamic<L, EGL1_4>

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

fn try_from(other: Dynamic<L, EGL1_4>) -> Result<Self, Dynamic<L, EGL1_4>>

Performs the conversion.
source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_1>> for Dynamic<L, EGL1_0>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_1>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_0>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_2>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_2>> for Dynamic<L, EGL1_1>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_2>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_0>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_3>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_1>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_3>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_3>> for Dynamic<L, EGL1_2>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_3>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_0>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_4>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_1>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_4>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_2>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_4>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_4>> for Dynamic<L, EGL1_3>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_4>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_0>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_5>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_1>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_5>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_2>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_5>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_3>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_5>>

source§

impl<L: Borrow<Library>> Upcast<Dynamic<L, EGL1_5>> for Dynamic<L, EGL1_4>

source§

fn upcast(&self) -> Option<&Dynamic<L, EGL1_5>>

source§

impl<L: Borrow<Library>> EGL1_3 for Dynamic<L, EGL1_3>

source§

impl<L: Borrow<Library>> EGL1_3 for Dynamic<L, EGL1_4>

source§

impl<L: Borrow<Library>> EGL1_3 for Dynamic<L, EGL1_5>

source§

impl<L: Borrow<Library> + Send, A: Send> Send for Dynamic<L, A>

source§

impl<L: Borrow<Library> + Sync, A: Sync> Sync for Dynamic<L, A>

Auto Trait Implementations§

§

impl<L, A> Freeze for Dynamic<L, A>
where L: Freeze,

§

impl<L, A> RefUnwindSafe for Dynamic<L, A>

§

impl<L, A> Unpin for Dynamic<L, A>
where L: Unpin, A: Unpin,

§

impl<L, A> UnwindSafe for Dynamic<L, A>
where L: UnwindSafe, A: UnwindSafe,

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> Downcast<T> for T

source§

fn downcast(&self) -> &T

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.
source§

impl<T> Upcast<T> for T

source§

fn upcast(&self) -> Option<&T>