[][src]Struct ndless_sdl::video::ll::SDL_Surface

#[repr(C)]
pub struct SDL_Surface { pub flags: uint32_t, pub format: *mut SDL_PixelFormat, pub w: c_int, pub h: c_int, pub pitch: uint16_t, pub pixels: *mut c_void, pub offset: c_int, pub hwdata: *mut c_void, pub clip_rect: SDL_Rect, pub unused1: uint32_t, pub locked: uint32_t, pub map: *mut c_void, pub format_version: c_uint, pub refcount: c_int, }

Fields

flags: uint32_tformat: *mut SDL_PixelFormatw: c_inth: c_intpitch: uint16_tpixels: *mut c_voidoffset: c_inthwdata: *mut c_voidclip_rect: SDL_Rectunused1: uint32_tlocked: uint32_tmap: *mut c_voidformat_version: c_uintrefcount: c_int

Trait Implementations

impl Copy for SDL_Surface[src]

impl Clone for SDL_Surface[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for SDL_Surface

impl !Sync for SDL_Surface

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T