use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct MDLMatrix4x4Array;
);
extern_conformance!(
unsafe impl NSCopying for MDLMatrix4x4Array {}
);
unsafe impl CopyingHelper for MDLMatrix4x4Array {
type Result = Self;
}
extern_conformance!(
unsafe impl NSObjectProtocol for MDLMatrix4x4Array {}
);
impl MDLMatrix4x4Array {
extern_methods!(
#[unsafe(method(elementCount))]
#[unsafe(method_family = none)]
pub unsafe fn elementCount(&self) -> NSUInteger;
#[cfg(feature = "MDLTypes")]
#[unsafe(method(precision))]
#[unsafe(method_family = none)]
pub unsafe fn precision(&self) -> MDLDataPrecision;
#[unsafe(method(clear))]
#[unsafe(method_family = none)]
pub unsafe fn clear(&self);
#[unsafe(method(initWithElementCount:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithElementCount(
this: Allocated<Self>,
array_element_count: NSUInteger,
) -> Retained<Self>;
);
}
impl MDLMatrix4x4Array {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}