pub type NSPoint = CGPoint;Available on crate features
NSGeometry and objc2-core-foundation only.Expand description
A point in a Cartesian coordinate system.
This is a convenience alias for CGPoint. For ease of use, it is
available on all platforms, though in practice it is only useful on macOS.
Aliased Type§
#[repr(C)]pub struct NSPoint {
pub x: f32,
pub y: f32,
}Fields§
§x: f32The x-coordinate of the point.
y: f32The y-coordinate of the point.