[][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 Clone for SDL_Surface[src]

impl Copy for SDL_Surface[src]

Auto Trait Implementations

impl !Send for SDL_Surface

impl !Sync for SDL_Surface

impl Unpin for SDL_Surface

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.