Type Alias sdl2_sys::SDL_blit

source ·
pub type SDL_blit = Option<unsafe extern "C" fn(src: *mut SDL_Surface, srcrect: *mut SDL_Rect, dst: *mut SDL_Surface, dstrect: *mut SDL_Rect) -> c_int>;
Expand description

\brief The type of function used for surface blitting functions.

Aliased Type§

enum SDL_blit {
    None,
    Some(unsafe extern "C" fn(_: *mut SDL_Surface, _: *mut SDL_Rect, _: *mut SDL_Surface, _: *mut SDL_Rect) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut SDL_Surface, _: *mut SDL_Rect, _: *mut SDL_Surface, _: *mut SDL_Rect) -> i32)

Some value of type T.