pub fn color_count(&self) -> i32 {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).color_count)(obj_data);
            ret_val
        }
    }
///
/// Returns the size of the color table for the image.
///
/// Notice that colorCount() returns 0 for 32-bpp images because these
/// images do not use color tables, but instead encode pixel values as
/// ARGB quadruplets.
///
/// **See also:** [`set_color_count()`]
/// {QImage#Image Information}{Image Information}
Returns the size of the color table for the image.
Notice that colorCount() returns 0 for 32-bpp images because these
images do not use color tables, but instead encode pixel values as
ARGB quadruplets.


Returns the size of the color table for the image . Notice that colorCount () returns 0 for 32 - bpp images because these images do not use color tables but instead encode pixel values as ARGB quadruplets .
pub fn color_count(&self) -> i32 {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).color_count)(obj_data);
            ret_val
        }
    }
pub fn color_count ( & self ) -> i32 { let ( obj_data , funcs ) = self . get_image_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . color_count ) ( obj_data ) ; ret_val } }
Returns the size of the color table for the image.
Returns the size of the color table for the image .
&self
&self