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
17extern_conformance!(
18    unsafe impl NSObjectProtocol for MDLUtility {}
19);
20
21impl MDLUtility {
22    extern_methods!(
23        #[unsafe(method(convertToUSDZ:writeToURL:))]
24        #[unsafe(method_family = none)]
25        pub unsafe fn convertToUSDZ_writeToURL(input_url: &NSURL, output_url: &NSURL);
26    );
27}
28
29/// Methods declared on superclass `NSObject`.
30impl MDLUtility {
31    extern_methods!(
32        #[unsafe(method(init))]
33        #[unsafe(method_family = init)]
34        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
35
36        #[unsafe(method(new))]
37        #[unsafe(method_family = new)]
38        pub unsafe fn new() -> Retained<Self>;
39    );
40}