pub fn color_model(&self) -> ColorModel {
        let (obj_data, funcs) = self.get_pixel_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).color_model)(obj_data);
            let ret_val = { transmute::<u32, ColorModel>(ret_val) };
            ret_val
        }
    }
///
/// Accessor function for getting the colorModel.
Accessor function for getting the colorModel.
Accessor function for getting the colorModel .
pub fn color_model(&self) -> ColorModel {
        let (obj_data, funcs) = self.get_pixel_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).color_model)(obj_data);
            let ret_val = { transmute::<u32, ColorModel>(ret_val) };
            ret_val
        }
    }
pub fn color_model ( & self ) -> ColorModel { let ( obj_data , funcs ) = self . get_pixel_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . color_model ) ( obj_data ) ; let ret_val = { transmute :: < u32 , ColorModel > ( ret_val ) } ; ret_val } }
Accessor function for getting the colorModel.
Accessor function for getting the colorModel .
&self
&self