pub fn answer_rect(&self) -> Rect {
        let (obj_data, funcs) = self.get_drag_move_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).answer_rect)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Rect::new_from_rc(t);
            } else {
                ret_val = Rect::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns the rectangle in the widget where the drop will occur if accepted.
/// You can use this information to restrict drops to certain places on the
/// widget.
Returns the rectangle in the widget where the drop will occur if accepted.
You can use this information to restrict drops to certain places on the
widget.
Returns the rectangle in the widget where the drop will occur if accepted . You can use this information to restrict drops to certain places on the widget .
pub fn answer_rect(&self) -> Rect {
        let (obj_data, funcs) = self.get_drag_move_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).answer_rect)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Rect::new_from_rc(t);
            } else {
                ret_val = Rect::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn answer_rect ( & self ) -> Rect { let ( obj_data , funcs ) = self . get_drag_move_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . answer_rect ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Rect :: new_from_rc ( t ) ; } else { ret_val = Rect :: new_from_owned ( t ) ; } ret_val } }
Returns the rectangle in the widget where the drop will occur if accepted.
Returns the rectangle in the widget where the drop will occur if accepted .
&self
&self