pub type NSRect = CGRect;Expand description
A rectangle.
This is a convenience alias for CGRect. 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 NSRect {
pub origin: CGPoint,
pub size: CGSize,
}Fields§
§origin: CGPointThe coordinates of the rectangle’s origin.
size: CGSizeThe dimensions of the rectangle.