NSSize

Type Alias NSSize 

Source
pub type NSSize = CGSize;
Available on crate features NSGeometry and objc2-core-foundation only.
Expand description

A two-dimensional size.

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

See Apple’s documentation.

Aliased Type§

#[repr(C)]
pub struct NSSize { pub width: f32, pub height: f32, }

Fields§

§width: f32

The dimensions along the x-axis.

§height: f32

The dimensions along the y-axis.