use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct SKReachConstraints;
);
extern_conformance!(
unsafe impl NSCoding for SKReachConstraints {}
);
extern_conformance!(
unsafe impl NSObjectProtocol for SKReachConstraints {}
);
extern_conformance!(
unsafe impl NSSecureCoding for SKReachConstraints {}
);
impl SKReachConstraints {
extern_methods!(
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(lowerAngleLimit))]
#[unsafe(method_family = none)]
pub unsafe fn lowerAngleLimit(&self) -> CGFloat;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(setLowerAngleLimit:))]
#[unsafe(method_family = none)]
pub unsafe fn setLowerAngleLimit(&self, lower_angle_limit: CGFloat);
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(upperAngleLimit))]
#[unsafe(method_family = none)]
pub unsafe fn upperAngleLimit(&self) -> CGFloat;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(setUpperAngleLimit:))]
#[unsafe(method_family = none)]
pub unsafe fn setUpperAngleLimit(&self, upper_angle_limit: CGFloat);
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(initWithLowerAngleLimit:upperAngleLimit:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithLowerAngleLimit_upperAngleLimit(
this: Allocated<Self>,
lower_angle_limit: CGFloat,
upper_angle_limit: CGFloat,
) -> Retained<Self>;
);
}
impl SKReachConstraints {
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>;
);
}