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"))]
20unsafe impl NSObjectProtocol for GCDeviceCursor {}
21
22#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
23impl GCDeviceCursor {
24 extern_methods!();
25}
26
27#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
29impl GCDeviceCursor {
30 extern_methods!(
31 #[unsafe(method(init))]
32 #[unsafe(method_family = init)]
33 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
34
35 #[unsafe(method(new))]
36 #[unsafe(method_family = new)]
37 pub unsafe fn new() -> Retained<Self>;
38 );
39}