[go: up one dir, main page]

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

pub struct WindowContext { /* fields omitted */ }
Expand description

Holds a SDL_Window

When the WindowContext is dropped, it destroys the SDL_Window

Implementations

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

Trait Implementations

Executes the destructor for this type. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.