///
/// Returns a rectangle grown by the *margins.*
///
/// **See also:** [`operator()`]
/// [`margins_removed()`]
/// [`operator()`]
///
/// Removes the *margins* from the rectangle, shrinking it.
///
/// **See also:** [`margins_added()`]
/// [`operator()`]
///
/// Returns a QRect based on the values of this rectangle. Note that the
/// coordinates in the returned rectangle are rounded to the nearest integer.
///
/// **See also:** [`q_rect_f()`]
/// [`to_aligned_rect()`]
Returns a rectangle grown by the *margins.

Removes the *margins* from the rectangle, shrinking it.



Returns a QRect based on the values of this rectangle. Note that the
coordinates in the returned rectangle are rounded to the nearest integer.


Returns a rectangle grown by the * margins . Removes the * margins * from the rectangle shrinking it . Returns a QRect based on the values of this rectangle . Note that the coordinates in the returned rectangle are rounded to the nearest integer .
pub fn to_rect(&self) -> Rect {
        let (obj_data, funcs) = self.get_rect_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_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 to_rect ( & self ) -> Rect { let ( obj_data , funcs ) = self . get_rect_f_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . to_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 a rectangle grown by the *margins.
Returns a rectangle grown by the * margins .
&self