Skip to main content

Api

Trait Api 

Source
pub trait Api {
    // Required method
    fn version(&self) -> Version;
}
Expand description

EGL API provider.

Required Methods§

Source

fn version(&self) -> Version

Version of the provided EGL API.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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

Available on crate feature dynamic only.