rio-window 0.3.10

Winit fork maintained for Rio terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use icrate::Foundation::NSObject;
use objc2::{extern_class, mutability, ClassType};

use super::{NSControl, NSResponder, NSView};

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    pub(crate) struct NSButton;

    unsafe impl ClassType for NSButton {
        #[inherits(NSView, NSResponder, NSObject)]
        type Super = NSControl;
        type Mutability = mutability::InteriorMutable;
    }
);