Type Alias NSSize

Source
pub type NSSize = CGSize;
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: f64, pub height: f64, }

Fields§

§width: f64

The dimensions along the x-axis.

§height: f64

The dimensions along the y-axis.