pub trait GlContext: Sealed {
// Required methods
fn context_api(&self) -> ContextApi;
fn priority(&self) -> Priority;
}
Expand description
A trait to group common context operations.
Required Methods§
Sourcefn context_api(&self) -> ContextApi
fn context_api(&self) -> ContextApi
Get the ContextApi
used by the context.
The returned value’s Version
will always be None
.