///
/// Accessor function for the bits used per pixel. This function returns the
/// sum of the color channels + the size of the alpha channel.
Accessor function for the bits used per pixel. This function returns the
sum of the color channels + the size of the alpha channel.
Accessor function for the bits used per pixel . This function returns the sum of the color channels + the size of the alpha channel .
pub fn bits_per_pixel(&self) -> u8 {
        let (obj_data, funcs) = self.get_pixel_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).bits_per_pixel)(obj_data);
            ret_val
        }
    }
pub fn bits_per_pixel ( & self ) -> u8 { let ( obj_data , funcs ) = self . get_pixel_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . bits_per_pixel ) ( obj_data ) ; ret_val } }
Accessor function for the bits used per pixel.
Accessor function for the bits used per pixel .
&self