pub trait GetGlDisplay: Sealed {
    type Target: GlDisplay;

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

Get the Display.

Required Associated Types§

source

type Target: GlDisplay

The display used by the object.

Required Methods§

source

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

Obtain the GL display used to create a particular GL object.

Implementors§

source§

impl GetGlDisplay for glutin::config::Config

source§

impl GetGlDisplay for glutin::context::NotCurrentContext

source§

impl GetGlDisplay for glutin::context::PossiblyCurrentContext

source§

impl GetGlDisplay for glutin::api::cgl::config::Config

Available on cgl_backend only.
source§

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

Available on cgl_backend only.
source§

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

Available on cgl_backend only.
source§

impl<T: SurfaceTypeTrait> GetGlDisplay for glutin::surface::Surface<T>

source§

impl<T: SurfaceTypeTrait> GetGlDisplay for glutin::api::cgl::surface::Surface<T>

Available on cgl_backend only.