pub trait GetGlConfig: Sealed {
    type Target: GlConfig;

    // Required method
    fn config(&self) -> Self::Target;
}
Expand description

The trait to

Required Associated Types§

source

type Target: GlConfig

The config type.

Required Methods§

source

fn config(&self) -> Self::Target

Get the GL config used to create a particular GL object.

Implementors§

source§

impl GetGlConfig for glutin::context::NotCurrentContext

source§

impl GetGlConfig for glutin::context::PossiblyCurrentContext

source§

impl GetGlConfig for glutin::api::cgl::context::NotCurrentContext

Available on cgl_backend only.
source§

impl GetGlConfig for glutin::api::cgl::context::PossiblyCurrentContext

Available on cgl_backend only.
source§

impl<T: SurfaceTypeTrait> GetGlConfig for Surface<T>

Available on cgl_backend only.