use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(HKSample, HKObject, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
pub struct HKSeriesSample;
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
unsafe impl Send for HKSeriesSample {}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
unsafe impl Sync for HKSeriesSample {}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSCoding for HKSeriesSample {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSObjectProtocol for HKSeriesSample {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
extern_conformance!(
unsafe impl NSSecureCoding for HKSeriesSample {}
);
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
impl HKSeriesSample {
extern_methods!(
#[unsafe(method(count))]
#[unsafe(method_family = none)]
pub unsafe fn count(&self) -> NSUInteger;
);
}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
impl HKSeriesSample {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
#[cfg(all(feature = "HKObject", feature = "HKSample"))]
impl HKSeriesSample {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}