use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(MLCLayer, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "MLCLayer")]
#[deprecated]
pub struct MLCReshapeLayer;
);
#[cfg(feature = "MLCLayer")]
extern_conformance!(
unsafe impl NSObjectProtocol for MLCReshapeLayer {}
);
#[cfg(feature = "MLCLayer")]
impl MLCReshapeLayer {
extern_methods!(
#[unsafe(method(shape))]
#[unsafe(method_family = none)]
pub unsafe fn shape(&self) -> Retained<NSArray<NSNumber>>;
#[deprecated]
#[unsafe(method(layerWithShape:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithShape(shape: &NSArray<NSNumber>) -> Option<Retained<Self>>;
);
}
#[cfg(feature = "MLCLayer")]
impl MLCReshapeLayer {
extern_methods!(
#[deprecated]
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}