pub fn move_center<P: PointTrait<'a>>(&self, p: &P) -> &Self {
        let (obj_p_1, _funcs) = p.get_point_obj_funcs();

        let (obj_data, funcs) = self.get_rect_obj_funcs();
        unsafe {
            ((*funcs).move_center)(obj_data, obj_p_1);
        }
        self
    }
///
/// Moves the rectangle, leaving the center point at the given *position.* The rectangle's size is unchanged.
///
/// **See also:** [`center()`]
Moves the rectangle, leaving the center point at the given *position.* The rectangle's size is unchanged.
Moves the rectangle leaving the center point at the given * position . * The rectangle ' s size is unchanged .
pub fn move_center<P: PointTrait<'a>>(&self, p: &P) -> &Self {
        let (obj_p_1, _funcs) = p.get_point_obj_funcs();
        let (obj_data, funcs) = self.get_rect_obj_funcs();
        unsafe {
            ((*funcs).move_center)(obj_data, obj_p_1);
        }
        self
    }
pub fn move_center < P : PointTrait < ' a > > ( & self , p : & P ) -> & Self { let ( obj_p_1 , _funcs ) = p . get_point_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_rect_obj_funcs ( ) ; unsafe { ( ( * funcs ) . move_center ) ( obj_data , obj_p_1 ) ; } self }
Moves the rectangle, leaving the center point at the given *position.
Moves the rectangle leaving the center point at the given * position .
&self
p
&P
&self
p
&P