Struct sdl2::surface::SurfaceContext[][src]

pub struct SurfaceContext<'a> { /* fields omitted */ }
Expand description

Holds a SDL_Surface

When the SurfaceContext is dropped, it frees the SDL_Surface

INTERNAL USE ONLY

Trait Implementations

Executes the destructor for this type. Read more

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.