objc2_game_controller/generated/
GCDeviceCursor.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(GCControllerDirectionPad, GCControllerElement, NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 #[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
16 pub struct GCDeviceCursor;
17);
18
19#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
20extern_conformance!(
21 unsafe impl NSObjectProtocol for GCDeviceCursor {}
22);
23
24#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
25impl GCDeviceCursor {
26 extern_methods!();
27}
28
29#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
31impl GCDeviceCursor {
32 extern_methods!(
33 #[unsafe(method(init))]
34 #[unsafe(method_family = init)]
35 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
36
37 #[unsafe(method(new))]
38 #[unsafe(method_family = new)]
39 pub unsafe fn new() -> Retained<Self>;
40 );
41}