pub trait ContextSwitchExt<'window> {
// Required method
fn set_context<'context: 'window>(
&'window self,
context: GlContext<'context>,
) -> Result<()>;
}
Expand description
An extension for Window
to set OpenGL context.