objc2_gl_kit/generated/
GLKEffectProperty.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::cell::UnsafeCell;
4use core::marker::{PhantomData, PhantomPinned};
5use core::ptr::NonNull;
6use objc2::__framework_prelude::*;
7
8use crate::*;
9
10/// [Apple's documentation](https://developer.apple.com/documentation/glkit/glkeffectpropertyprv?language=objc)
11#[repr(C)]
12#[derive(Debug)]
13pub struct GLKEffectPropertyPrv {
14    inner: [u8; 0],
15    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
16}
17
18unsafe impl RefEncode for GLKEffectPropertyPrv {
19    const ENCODING_REF: Encoding =
20        Encoding::Pointer(&Encoding::Struct("GLKEffectPropertyPrv", &[]));
21}
22
23/// [Apple's documentation](https://developer.apple.com/documentation/glkit/glkeffectpropertyprvptr?language=objc)
24pub type GLKEffectPropertyPrvPtr = *mut GLKEffectPropertyPrv;
25
26extern_class!(
27    /// [Apple's documentation](https://developer.apple.com/documentation/glkit/glkeffectproperty?language=objc)
28    #[unsafe(super(NSObject))]
29    #[derive(Debug, PartialEq, Eq, Hash)]
30    pub struct GLKEffectProperty;
31);
32
33extern_conformance!(
34    unsafe impl NSObjectProtocol for GLKEffectProperty {}
35);
36
37impl GLKEffectProperty {
38    extern_methods!();
39}
40
41/// Methods declared on superclass `NSObject`.
42impl GLKEffectProperty {
43    extern_methods!(
44        #[unsafe(method(init))]
45        #[unsafe(method_family = init)]
46        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
47
48        #[unsafe(method(new))]
49        #[unsafe(method_family = new)]
50        pub unsafe fn new() -> Retained<Self>;
51    );
52}