///
/// Returns the cursor bitmap mask, or 0 if it is one of the standard
/// cursors.
Returns the cursor bitmap mask, or 0 if it is one of the standard
cursors.
Returns the cursor bitmap mask or 0 if it is one of the standard cursors .
pub fn mask(&self) -> Option<Bitmap> {
        let (obj_data, funcs) = self.get_cursor_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).mask)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            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);
            }
            Some(ret_val)
        }
    }
pub fn mask ( & self ) -> Option < Bitmap > { let ( obj_data , funcs ) = self . get_cursor_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . mask ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } 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 ) ; } Some ( ret_val ) } }
Returns the cursor bitmap mask, or 0 if it is one of the standard
cursors.
Returns the cursor bitmap mask or 0 if it is one of the standard cursors .
&self