Struct sdl2::video::WindowContext[][src]

pub struct WindowContext { /* fields omitted */ }

Holds a SDL_Window

When the WindowContext is dropped, it destroys the SDL_Window

Methods

impl WindowContext
[src]

Unsafe if the *mut SDL_Window is used after the WindowContext is dropped

Trait Implementations

impl Drop for WindowContext
[src]

Executes the destructor for this type. Read more

impl From<WindowContext> for Window
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for WindowContext

impl !Sync for WindowContext