pub fn pixel_format_enum_to_masks(&self, format: PixelFormatEnum) -> (i32, u32, u32, u32, u32) {
    let mut bpp = 0;
    let mut r_mask = 0;
    let mut g_mask = 0;
    let mut b_mask = 0;
    let mut a_mask = 0;
    unsafe {
      SDL_PixelFormatEnumToMasks(
        format as u32,
        &mut bpp,
        &mut r_mask,
        &mut g_mask,
        &mut b_mask,
        &mut a_mask,
      );
    }
    (bpp, r_mask, g_mask, b_mask, a_mask)
  }
/// Converts this `format` into the appropriate `bpp` and mask values.
Converts this `format` into the appropriate `bpp` and mask values.
Converts this ` format ` into the appropriate ` bpp ` and mask values .
pub fn pixel_format_enum_to_masks(&self, format: PixelFormatEnum) -> (i32, u32, u32, u32, u32) {
    let mut bpp = 0;
    let mut r_mask = 0;
    let mut g_mask = 0;
    let mut b_mask = 0;
    let mut a_mask = 0;
    unsafe {
      SDL_PixelFormatEnumToMasks(
        format as u32,
        &mut bpp,
        &mut r_mask,
        &mut g_mask,
        &mut b_mask,
        &mut a_mask,
      );
    }
    (bpp, r_mask, g_mask, b_mask, a_mask)
  }
pub fn pixel_format_enum_to_masks ( & self , format : PixelFormatEnum ) -> ( i32 , u32 , u32 , u32 , u32 ) { let mut bpp = 0 ; let mut r_mask = 0 ; let mut g_mask = 0 ; let mut b_mask = 0 ; let mut a_mask = 0 ; unsafe { SDL_PixelFormatEnumToMasks ( format as u32 , & mut bpp , & mut r_mask , & mut g_mask , & mut b_mask , & mut a_mask , ) ; } ( bpp , r_mask , g_mask , b_mask , a_mask ) }
Converts this `format` into the appropriate `bpp` and mask values.
Converts this ` format ` into the appropriate ` bpp ` and mask values .
&self
format
PixelFormatEnum
&self
format
PixelFormatEnum