pub fn mask(&self) -> Bitmap {
        let (obj_data, funcs) = self.get_pixmap_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mask)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Bitmap::new_from_rc(t);
            } else {
                ret_val = Bitmap::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Extracts a bitmap mask from the pixmap's alpha channel.
///
/// **Warning**: This is potentially an expensive operation. The mask of
/// the pixmap is extracted dynamically from the pixeldata.
///
/// **See also:** [`set_mask()`]
/// {QPixmap#Pixmap Information}{Pixmap Information}
Extracts a bitmap mask from the pixmap's alpha channel.
Warning**: This is potentially an expensive operation. The mask of
the pixmap is extracted dynamically from the pixeldata.


Extracts a bitmap mask from the pixmap ' s alpha channel . Warning ** : This is potentially an expensive operation . The mask of the pixmap is extracted dynamically from the pixeldata .
pub fn mask(&self) -> Bitmap {
        let (obj_data, funcs) = self.get_pixmap_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mask)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Bitmap::new_from_rc(t);
            } else {
                ret_val = Bitmap::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn mask ( & self ) -> Bitmap { let ( obj_data , funcs ) = self . get_pixmap_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . mask ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Bitmap :: new_from_rc ( t ) ; } else { ret_val = Bitmap :: new_from_owned ( t ) ; } ret_val } }
Extracts a bitmap mask from the pixmap's alpha channel.
Extracts a bitmap mask from the pixmap ' s alpha channel .
&self
&self