Type Definition objc2::foundation::NSRect

source · []
pub type NSRect = CGRect;
Available on crate feature foundation only.
Expand description

A rectangle.

This is just a convenience alias for CGRect. For ease of use, it is available on all platforms, though in practice it is only useful on macOS.

See Apple’s documentation.