Type Definition khronos_egl::DynamicInstance[][src]

pub type DynamicInstance<V = Latest> = Instance<Dynamic<Library, V>>;
Expand description

Alias for dynamically linked instances with the latest handled version of EGL.

Implementations

Create an EGL instance by finding and loading a dynamic library with the given filename. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

This is equivalent to DynamicInstance::load_required_from_filename("libEGL.so.1").

Safety

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

Create an EGL instance by finding and loading a dynamic library with the given filename. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

This is equivalent to DynamicInstance::load_required_from_filename("libEGL.so.1").

Safety

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

Create an EGL instance by finding and loading a dynamic library with the given filename. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

This is equivalent to DynamicInstance::load_required_from_filename("libEGL.so.1").

Safety

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

Create an EGL instance by finding and loading a dynamic library with the given filename. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

This is equivalent to DynamicInstance::load_required_from_filename("libEGL.so.1").

Safety

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

Create an EGL instance by finding and loading a dynamic library with the given filename. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

This is equivalent to DynamicInstance::load_required_from_filename("libEGL.so.1").

Safety

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

Create an EGL instance by finding and loading a dynamic library with the given filename. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library. This function fails if the EGL library does not provide the minimum required version given by the type parameter.

This is equivalent to DynamicInstance::load_required_from_filename("libEGL.so.1").

Safety

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

Create an EGL instance by finding and loading a dynamic library with the given filename.

See Library::new for more details on how the filename argument is used.

On Linux plateforms, the library is loaded with the RTLD_NODELETE flag. See #14 for more details.

Safety

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

Create an EGL instance by finding and loading the libEGL.so.1 or libEGL.so library.

This is equivalent to DynamicInstance::load_from_filename("libEGL.so.1").

Safety

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