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