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

#[repr(C)]
pub struct SDL_PixelFormat { pub palette: *mut SDL_Palette, pub BitsPerPixel: uint8_t, pub BytesPerPixel: uint8_t, pub Rloss: uint8_t, pub Gloss: uint8_t, pub Bloss: uint8_t, pub Aloss: uint8_t, pub Rshift: uint8_t, pub Gshift: uint8_t, pub Bshift: uint8_t, pub Ashift: uint8_t, pub Rmask: uint32_t, pub Gmask: uint32_t, pub Bmask: uint32_t, pub Amask: uint32_t, pub colorkey: uint32_t, pub alpha: uint8_t, }

Fields

palette: *mut SDL_PaletteBitsPerPixel: uint8_tBytesPerPixel: uint8_tRloss: uint8_tGloss: uint8_tBloss: uint8_tAloss: uint8_tRshift: uint8_tGshift: uint8_tBshift: uint8_tAshift: uint8_tRmask: uint32_tGmask: uint32_tBmask: uint32_tAmask: uint32_tcolorkey: uint32_talpha: uint8_t

Trait Implementations

impl Clone for SDL_PixelFormat[src]

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

Performs copy-assignment from source. Read more

impl Copy for SDL_PixelFormat[src]

Auto Trait Implementations

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