///
/// Returns the size of the rectangle.
///
/// **See also:** [`set_size()`]
/// [`width()`]
/// [`height()`]
Returns the size of the rectangle.
Returns the size of the rectangle .
pub fn size(&self) -> Size {
        let (obj_data, funcs) = self.get_rect_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).size)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Size::new_from_rc(t);
            } else {
                ret_val = Size::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn size ( & self ) -> Size { let ( obj_data , funcs ) = self . get_rect_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . size ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Size :: new_from_rc ( t ) ; } else { ret_val = Size :: new_from_owned ( t ) ; } ret_val } }
Returns the size of the rectangle.
Returns the size of the rectangle .
&self