objc2_model_io/generated/
MDLUtility.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11    /// [Apple's documentation](https://developer.apple.com/documentation/modelio/mdlutility?language=objc)
12    #[unsafe(super(NSObject))]
13    #[derive(Debug, PartialEq, Eq, Hash)]
14    pub struct MDLUtility;
15);
16
17unsafe impl NSObjectProtocol for MDLUtility {}
18
19impl MDLUtility {
20    extern_methods!(
21        #[unsafe(method(convertToUSDZ:writeToURL:))]
22        #[unsafe(method_family = none)]
23        pub unsafe fn convertToUSDZ_writeToURL(input_url: &NSURL, output_url: &NSURL);
24    );
25}
26
27/// Methods declared on superclass `NSObject`.
28impl MDLUtility {
29    extern_methods!(
30        #[unsafe(method(init))]
31        #[unsafe(method_family = init)]
32        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
33
34        #[unsafe(method(new))]
35        #[unsafe(method_family = new)]
36        pub unsafe fn new() -> Retained<Self>;
37    );
38}