Dynamic

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

Available on crate feature dynamic only.
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>

Available on crate features dynamic and 1_1 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate feature dynamic only.
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>

Available on crate features dynamic and 1_1 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_2 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_2 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_0 only.
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>

Available on crate features dynamic and 1_1 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_1 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_4 only.
Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_1 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_2 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_3 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_4 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_5 only.
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>

Available on crate features dynamic and 1_1 only.
Source§

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>

Available on crate features dynamic and 1_2 only.
Source§

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>

Available on crate features dynamic and 1_3 only.
Source§

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>

Available on crate features dynamic and 1_4 only.
Source§

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>

Available on crate features dynamic and 1_5 only.
Source§

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>

Available on crate features dynamic and 1_2 only.
Source§

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>

Available on crate features dynamic and 1_3 only.
Source§

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>

Available on crate features dynamic and 1_4 only.
Source§

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>

Available on crate features dynamic and 1_5 only.
Source§

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>

Available on crate features dynamic and 1_3 only.
Source§

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>

Available on crate features dynamic and 1_4 only.
Source§

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>

Available on crate features dynamic and 1_5 only.
Source§

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>

Available on crate features dynamic and 1_4 only.
Source§

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>

Available on crate features dynamic and 1_5 only.
Source§

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>

Available on crate features dynamic and 1_5 only.
Source§

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>

Available on crate features dynamic and 1_1 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_2 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_2 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Source§

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

Available on crate features dynamic and 1_3 only.
Source§

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

Available on crate features dynamic and 1_4 only.
Source§

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

Available on crate features dynamic and 1_5 only.
Source§

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

Available on crate feature dynamic only.
Source§

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

Available on crate feature dynamic only.

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

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

impl<T> Upcast<T> for T

Source§

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