native-dialog 0.5.4

A library to display dialogs. Supports GNU/Linux, BSD Unix, macOS and Windows.
Documentation
use cocoa::appkit::CGFloat;

#[repr(C)]
pub struct NSEdgeInsets {
    top: CGFloat,
    left: CGFloat,
    bottom: CGFloat,
    right: CGFloat,
}

impl NSEdgeInsets {
    pub fn new(top: CGFloat, left: CGFloat, bottom: CGFloat, right: CGFloat) -> Self {
        NSEdgeInsets {
            top,
            left,
            bottom,
            right,
        }
    }
}

#[allow(dead_code)]
#[repr(usize)]
pub enum NSUserInterfaceLayoutOrientation {
    Horizontal,
    Vertical,
}