pub fn channel_count(&self) -> u8 {
        let (obj_data, funcs) = self.get_pixel_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).channel_count)(obj_data);
            ret_val
        }
    }
///
/// Accessor function for getting the channelCount. Channel Count is deduced
/// by color channels with a size > 0 and if the size of the alpha channel is > 0.
Accessor function for getting the channelCount. Channel Count is deduced
by color channels with a size > 0 and if the size of the alpha channel is > 0.
Accessor function for getting the channelCount . Channel Count is deduced by color channels with a size > 0 and if the size of the alpha channel is > 0 .
pub fn channel_count(&self) -> u8 {
        let (obj_data, funcs) = self.get_pixel_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).channel_count)(obj_data);
            ret_val
        }
    }
pub fn channel_count ( & self ) -> u8 { let ( obj_data , funcs ) = self . get_pixel_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . channel_count ) ( obj_data ) ; ret_val } }
Accessor function for getting the channelCount.
Accessor function for getting the channelCount .
&self
&self