Type Definition objc2_foundation::CGFloat

source · []
pub type CGFloat = f64;
Expand description

The basic type for all floating-point values.

This is f32 on 32-bit platforms and f64 on 64-bit platforms.

This technically belongs to the CoreGraphics framework, but we define it here for convenience.

See Apple’s documentation and the related core_graphics_types::base::CGFloat.