pub fn pixel_layout(self) -> PixelLayout {
    match ((self as u32 >> 16) & 0x0F) as fermium::_bindgen_ty_1::Type {
      SDL_PACKEDLAYOUT_332 => PixelLayout::_332,
      SDL_PACKEDLAYOUT_4444 => PixelLayout::_4444,
      SDL_PACKEDLAYOUT_1555 => PixelLayout::_1555,
      SDL_PACKEDLAYOUT_5551 => PixelLayout::_5551,
      SDL_PACKEDLAYOUT_565 => PixelLayout::_565,
      SDL_PACKEDLAYOUT_8888 => PixelLayout::_8888,
      SDL_PACKEDLAYOUT_2101010 => PixelLayout::_2101010,
      SDL_PACKEDLAYOUT_1010102 => PixelLayout::_1010102,
      _ => PixelLayout::None,
    }
  }
/// Channel bits pattern of the pixel format.
///
/// Converts any possible unknown layout to `PixelLayout::None`.
Channel bits pattern of the pixel format.
Converts any possible unknown layout to `PixelLayout::None`.
Channel bits pattern of the pixel format . Converts any possible unknown layout to ` PixelLayout :: None ` .
pub fn pixel_layout(self) -> PixelLayout {
    match ((self as u32 >> 16) & 0x0F) as fermium::_bindgen_ty_1::Type {
      SDL_PACKEDLAYOUT_332 => PixelLayout::_332,
      SDL_PACKEDLAYOUT_4444 => PixelLayout::_4444,
      SDL_PACKEDLAYOUT_1555 => PixelLayout::_1555,
      SDL_PACKEDLAYOUT_5551 => PixelLayout::_5551,
      SDL_PACKEDLAYOUT_565 => PixelLayout::_565,
      SDL_PACKEDLAYOUT_8888 => PixelLayout::_8888,
      SDL_PACKEDLAYOUT_2101010 => PixelLayout::_2101010,
      SDL_PACKEDLAYOUT_1010102 => PixelLayout::_1010102,
      _ => PixelLayout::None,
    }
  }
pub fn pixel_layout ( self ) -> PixelLayout { match ( ( self as u32 >> 16 ) & 0x0F ) as fermium :: _bindgen_ty_1 :: Type { SDL_PACKEDLAYOUT_332 => PixelLayout :: _332 , SDL_PACKEDLAYOUT_4444 => PixelLayout :: _4444 , SDL_PACKEDLAYOUT_1555 => PixelLayout :: _1555 , SDL_PACKEDLAYOUT_5551 => PixelLayout :: _5551 , SDL_PACKEDLAYOUT_565 => PixelLayout :: _565 , SDL_PACKEDLAYOUT_8888 => PixelLayout :: _8888 , SDL_PACKEDLAYOUT_2101010 => PixelLayout :: _2101010 , SDL_PACKEDLAYOUT_1010102 => PixelLayout :: _1010102 , _ => PixelLayout :: None , } }
Channel bits pattern of the pixel format.
Channel bits pattern of the pixel format .
self
self