Struct sdl2::Subsystem [] [src]

pub struct Subsystem<'sdl> {
    // some fields omitted
}

A RAII value representing initalized SDL subsystems. See sdl2::Sdl::init_subsystem().

Subsystem initialization is ref-counted. Once Subsystem::drop() is called, the specified subsystems' ref-counts are decremented via SDL_QuitSubSystem.

Trait Implementations

impl<'sdl> Drop for Subsystem<'sdl>
[src]

fn drop(&mut self)

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