objc2_io_bluetooth/generated/objc2/
IOBluetoothObject.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5#[cfg(feature = "objc2-foundation")]
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11    /// [Apple's documentation](https://developer.apple.com/documentation/iobluetooth/iobluetoothobject?language=objc)
12    #[unsafe(super(NSObject))]
13    #[derive(Debug, PartialEq, Eq, Hash)]
14    pub struct IOBluetoothObject;
15);
16
17#[cfg(feature = "objc2-foundation")]
18extern_conformance!(
19    unsafe impl NSCopying for IOBluetoothObject {}
20);
21
22#[cfg(feature = "objc2-foundation")]
23unsafe impl CopyingHelper for IOBluetoothObject {
24    type Result = Self;
25}
26
27extern_conformance!(
28    unsafe impl NSObjectProtocol for IOBluetoothObject {}
29);
30
31impl IOBluetoothObject {
32    extern_methods!();
33}
34
35/// Methods declared on superclass `NSObject`.
36impl IOBluetoothObject {
37    extern_methods!(
38        #[unsafe(method(init))]
39        #[unsafe(method_family = init)]
40        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
41
42        #[unsafe(method(new))]
43        #[unsafe(method_family = new)]
44        pub unsafe fn new() -> Retained<Self>;
45    );
46}