[][src]Struct fermium::pixels::SDL_PixelFormat

#[repr(C)]pub struct SDL_PixelFormat {
    pub format: u32,
    pub palette: *mut SDL_Palette,
    pub BitsPerPixel: u8,
    pub BytesPerPixel: u8,
    pub padding: [u8; 2],
    pub Rmask: u32,
    pub Gmask: u32,
    pub Bmask: u32,
    pub Amask: u32,
    pub Rloss: u8,
    pub Gloss: u8,
    pub Bloss: u8,
    pub Aloss: u8,
    pub Rshift: u8,
    pub Gshift: u8,
    pub Bshift: u8,
    pub Ashift: u8,
    pub refcount: c_int,
    pub next: *mut SDL_PixelFormat,
}

An SDL Pixel Format.

Generally, you shouldn't alter these fields.

Fields

format: u32palette: *mut SDL_PaletteBitsPerPixel: u8BytesPerPixel: u8padding: [u8; 2]Rmask: u32Gmask: u32Bmask: u32Amask: u32Rloss: u8Gloss: u8Bloss: u8Aloss: u8Rshift: u8Gshift: u8Bshift: u8Ashift: u8refcount: c_intnext: *mut SDL_PixelFormat

Trait Implementations

impl Debug for SDL_PixelFormat[src]

Auto Trait Implementations

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, 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.