Struct sdl2::video::WindowRef [] [src]

pub struct WindowRef { /* fields omitted */ }

An unsized Window reference.

This type is used whenever Windows need to be borrowed from the SDL library, without concern for freeing the Window.

Methods

impl WindowRef
[src]

Set the window's OpenGL context to the current context on the thread.