pub fn y(&self) -> i32 {
        let (obj_data, funcs) = self.get_rect_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).y)(obj_data);
            ret_val
        }
    }
///
/// Returns the y-coordinate of the rectangle's top edge. Equivalent to top().
///
/// **See also:** [`set_y()`]
/// [`x()`]
/// [`top_left()`]
Returns the y-coordinate of the rectangle's top edge. Equivalent to top().
Returns the y - coordinate of the rectangle ' s top edge . Equivalent to top () .
pub fn y(&self) -> i32 {
        let (obj_data, funcs) = self.get_rect_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).y)(obj_data);
            ret_val
        }
    }
pub fn y ( & self ) -> i32 { let ( obj_data , funcs ) = self . get_rect_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . y ) ( obj_data ) ; ret_val } }
Returns the y-coordinate of the rectangle's top edge.
Returns the y - coordinate of the rectangle ' s top edge .
&self
&self