icrate 0.1.2

Bindings to Apple's frameworks
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::Foundation::*;
use crate::LocalAuthentication::*;

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    #[cfg(feature = "LocalAuthentication_LAPrivateKey")]
    pub struct LAPrivateKey;

    #[cfg(feature = "LocalAuthentication_LAPrivateKey")]
    unsafe impl ClassType for LAPrivateKey {
        type Super = NSObject;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "LocalAuthentication_LAPrivateKey")]
unsafe impl NSObjectProtocol for LAPrivateKey {}

extern_methods!(
    #[cfg(feature = "LocalAuthentication_LAPrivateKey")]
    unsafe impl LAPrivateKey {
        #[cfg(feature = "LocalAuthentication_LAPublicKey")]
        #[method_id(@__retain_semantics Other publicKey)]
        pub unsafe fn publicKey(&self) -> Id<LAPublicKey>;

        #[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>;
    }
);