Struct sdl2_sys::SDL_Surface [] [src]

#[repr(C)]
pub struct SDL_Surface { pub flags: Uint32, pub format: *mut SDL_PixelFormat, pub w: c_int, pub h: c_int, pub pitch: c_int, pub pixels: *mut c_void, pub userdata: *mut c_void, pub locked: c_int, pub lock_data: *mut c_void, pub clip_rect: SDL_Rect, pub map: *mut SDL_BlitMap, pub refcount: c_int, }

\brief A collection of pixels used in software blitting.

\note This structure should be treated as read-only, except for \c pixels, which, if not NULL, contains the raw pixel data for the surface.

Fields

< Read-only

< Read-only

< Read-only

< Read-only

< Read-only

< Read-write

< Read-write

< Read-only

< Read-only

< Read-only

< Private

< Read-mostly

Trait Implementations

impl Debug for SDL_Surface
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_Surface
[src]

impl Clone for SDL_Surface
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more