///
/// Returns the position of the rectangle's top-left corner.
///
/// **See also:** [`set_top_left()`]
/// [`top()`]
/// [`left()`]
Returns the position of the rectangle's top-left corner.
Returns the position of the rectangle ' s top - left corner .
pub fn top_left(&self) -> Point {
        let (obj_data, funcs) = self.get_rect_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).top_left)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Point::new_from_rc(t);
            } else {
                ret_val = Point::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn top_left ( & self ) -> Point { let ( obj_data , funcs ) = self . get_rect_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . top_left ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Point :: new_from_rc ( t ) ; } else { ret_val = Point :: new_from_owned ( t ) ; } ret_val } }
Returns the position of the rectangle's top-left corner.
Returns the position of the rectangle ' s top - left corner .
&self