objc2_model_io/generated/
MDLValueTypes.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(NSObject))]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 pub struct MDLMatrix4x4Array;
15);
16
17extern_conformance!(
18 unsafe impl NSCopying for MDLMatrix4x4Array {}
19);
20
21unsafe impl CopyingHelper for MDLMatrix4x4Array {
22 type Result = Self;
23}
24
25extern_conformance!(
26 unsafe impl NSObjectProtocol for MDLMatrix4x4Array {}
27);
28
29impl MDLMatrix4x4Array {
30 extern_methods!(
31 #[unsafe(method(elementCount))]
32 #[unsafe(method_family = none)]
33 pub unsafe fn elementCount(&self) -> NSUInteger;
34
35 #[cfg(feature = "MDLTypes")]
36 #[unsafe(method(precision))]
37 #[unsafe(method_family = none)]
38 pub unsafe fn precision(&self) -> MDLDataPrecision;
39
40 #[unsafe(method(clear))]
41 #[unsafe(method_family = none)]
42 pub unsafe fn clear(&self);
43
44 #[unsafe(method(initWithElementCount:))]
45 #[unsafe(method_family = init)]
46 pub unsafe fn initWithElementCount(
47 this: Allocated<Self>,
48 array_element_count: NSUInteger,
49 ) -> Retained<Self>;
50 );
51}
52
53impl MDLMatrix4x4Array {
55 extern_methods!(
56 #[unsafe(method(init))]
57 #[unsafe(method_family = init)]
58 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
59
60 #[unsafe(method(new))]
61 #[unsafe(method_family = new)]
62 pub unsafe fn new() -> Retained<Self>;
63 );
64}