1 2 3 4 5 6 7 8 9
/// A structure that contains a point in a two-dimensional coordinate system. #[derive(Clone, Copy, Debug, Default, PartialEq)] #[repr(C)] pub struct CGPoint { /// The x-coordinate of the point. pub x: f64, /// The y-coordinate of the point. pub y: f64, }