icrate 0.1.2

Bindings to Apple's frameworks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::Foundation::*;
use crate::GameController::*;

extern_protocol!(
    pub unsafe trait GCButtonElement: GCPhysicalInputElement {
        #[method_id(@__retain_semantics Other pressedInput)]
        unsafe fn pressedInput(&self) -> Id<TodoProtocols>;

        #[method_id(@__retain_semantics Other touchedInput)]
        unsafe fn touchedInput(&self) -> Option<Id<ProtocolObject<dyn GCTouchedStateInput>>>;
    }

    unsafe impl ProtocolType for dyn GCButtonElement {}
);