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

#[repr(C)]
pub struct SDL_PixelFormat {
Show 19 fields 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,
}
Expand description

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.