use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(MLCLayer, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "MLCLayer")]
#[deprecated]
pub struct MLCScatterLayer;
);
#[cfg(feature = "MLCLayer")]
extern_conformance!(
unsafe impl NSObjectProtocol for MLCScatterLayer {}
);
#[cfg(feature = "MLCLayer")]
impl MLCScatterLayer {
extern_methods!(
#[deprecated]
#[unsafe(method(dimension))]
#[unsafe(method_family = none)]
pub unsafe fn dimension(&self) -> NSUInteger;
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(reductionType))]
#[unsafe(method_family = none)]
pub unsafe fn reductionType(&self) -> MLCReductionType;
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(layerWithDimension:reductionType:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithDimension_reductionType(
dimension: NSUInteger,
reduction_type: MLCReductionType,
) -> Option<Retained<Self>>;
);
}
#[cfg(feature = "MLCLayer")]
impl MLCScatterLayer {
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>;
);
}