use crate::common::*;
use crate::Foundation::*;
use crate::LocalAuthentication::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "LocalAuthentication_LAPublicKey")]
pub struct LAPublicKey;
#[cfg(feature = "LocalAuthentication_LAPublicKey")]
unsafe impl ClassType for LAPublicKey {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "LocalAuthentication_LAPublicKey")]
unsafe impl NSObjectProtocol for LAPublicKey {}
extern_methods!(
#[cfg(feature = "LocalAuthentication_LAPublicKey")]
unsafe impl LAPublicKey {
#[cfg(all(feature = "Foundation_NSData", feature = "Foundation_NSError"))]
#[method(exportBytesWithCompletion:)]
pub unsafe fn exportBytesWithCompletion(
&self,
handler: &Block<(*mut NSData, *mut NSError), ()>,
);
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
}
);