///
/// Returns `true` if the alpha buffer size is greater than zero.
///
/// This means that the surface might be used with per pixel
/// translucency effects.
Returns `true` if the alpha buffer size is greater than zero.
This means that the surface might be used with per pixel
translucency effects.
Returns ` true ` if the alpha buffer size is greater than zero . This means that the surface might be used with per pixel translucency effects .
pub fn has_alpha(&self) -> bool {
        let (obj_data, funcs) = self.get_surface_format_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).has_alpha)(obj_data);
            ret_val
        }
    }
pub fn has_alpha ( & self ) -> bool { let ( obj_data , funcs ) = self . get_surface_format_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . has_alpha ) ( obj_data ) ; ret_val } }
Returns `true` if the alpha buffer size is greater than zero.
Returns ` true ` if the alpha buffer size is greater than zero .
&self