glutin::context

Trait AsRawContext

Source
pub trait AsRawContext {
    // Required method
    fn raw_context(&self) -> RawContext;
}
Expand description

A trait that provides raw context.

Required Methods§

Source

fn raw_context(&self) -> RawContext

Get the raw context handle.

Implementors§

Source§

impl AsRawContext for glutin::context::NotCurrentContext

Source§

impl AsRawContext for glutin::context::PossiblyCurrentContext

Source§

impl AsRawContext for glutin::api::egl::context::NotCurrentContext

Source§

impl AsRawContext for glutin::api::egl::context::PossiblyCurrentContext

Source§

impl AsRawContext for glutin::api::glx::context::NotCurrentContext

Source§

impl AsRawContext for glutin::api::glx::context::PossiblyCurrentContext