pub fn to_aligned_rect(&self) -> Rect {
        let (obj_data, funcs) = self.get_rect_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_aligned_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 QRect based on the values of this rectangle that is the
/// smallest possible integer rectangle that completely contains this
/// rectangle.
///
/// **See also:** [`to_rect()`]
Returns a QRect based on the values of this rectangle that is the
smallest possible integer rectangle that completely contains this
rectangle.


Returns a QRect based on the values of this rectangle that is the smallest possible integer rectangle that completely contains this rectangle .
pub fn to_aligned_rect(&self) -> Rect {
        let (obj_data, funcs) = self.get_rect_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_aligned_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_aligned_rect ( & self ) -> Rect { let ( obj_data , funcs ) = self . get_rect_f_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . to_aligned_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 QRect based on the values of this rectangle that is the
smallest possible integer rectangle that completely contains this
rectangle.
Returns a QRect based on the values of this rectangle that is the smallest possible integer rectangle that completely contains this rectangle .
&self
&self