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::AppKit::*;
use crate::CoreLocation::*;
use crate::Foundation::*;
use crate::PhotoKit::*;

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

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

#[cfg(feature = "PhotoKit_PHPersistentObjectChangeDetails")]
unsafe impl Send for PHPersistentObjectChangeDetails {}

#[cfg(feature = "PhotoKit_PHPersistentObjectChangeDetails")]
unsafe impl Sync for PHPersistentObjectChangeDetails {}

#[cfg(feature = "PhotoKit_PHPersistentObjectChangeDetails")]
unsafe impl NSObjectProtocol for PHPersistentObjectChangeDetails {}

extern_methods!(
    #[cfg(feature = "PhotoKit_PHPersistentObjectChangeDetails")]
    unsafe impl PHPersistentObjectChangeDetails {
        #[method(objectType)]
        pub unsafe fn objectType(&self) -> PHObjectType;

        #[cfg(all(feature = "Foundation_NSSet", feature = "Foundation_NSString"))]
        #[method_id(@__retain_semantics Other insertedLocalIdentifiers)]
        pub unsafe fn insertedLocalIdentifiers(&self) -> Id<NSSet<NSString>>;

        #[cfg(all(feature = "Foundation_NSSet", feature = "Foundation_NSString"))]
        #[method_id(@__retain_semantics Other updatedLocalIdentifiers)]
        pub unsafe fn updatedLocalIdentifiers(&self) -> Id<NSSet<NSString>>;

        #[cfg(all(feature = "Foundation_NSSet", feature = "Foundation_NSString"))]
        #[method_id(@__retain_semantics Other deletedLocalIdentifiers)]
        pub unsafe fn deletedLocalIdentifiers(&self) -> Id<NSSet<NSString>>;

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