pub fn all_gray(&self) -> bool {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).all_gray)(obj_data);
            ret_val
        }
    }
///
/// Returns `true` if all the colors in the image are shades of gray
/// (i.e. their red, green and blue components are equal); otherwise
/// false.
///
/// Note that this function is slow for images without color table.
///
/// **See also:** [`is_grayscale()`]
Returns `true` if all the colors in the image are shades of gray
; otherwise
false.

Note that this function is slow for images without color table.


Returns ` true ` if all the colors in the image are shades of gray ; otherwise false . Note that this function is slow for images without color table .
pub fn all_gray(&self) -> bool {
        let (obj_data, funcs) = self.get_image_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).all_gray)(obj_data);
            ret_val
        }
    }
pub fn all_gray ( & self ) -> bool { let ( obj_data , funcs ) = self . get_image_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . all_gray ) ( obj_data ) ; ret_val } }
Returns `true` if all the colors in the image are shades of gray
(i.e.
Returns ` true ` if all the colors in the image are shades of gray ( i . e .
&self
&self