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

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

Holds a SDL_Surface

When the SurfaceContext is dropped, it frees the SDL_Surface

INTERNAL USE ONLY

Trait Implementations

impl<'a> Drop for SurfaceContext<'a>
[src]

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