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]

A method called when the value goes out of scope. Read more