icrate/generated/CoreData/
NSLightweightMigrationStage.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use crate::common::*;
4use crate::CoreData::*;
5use crate::Foundation::*;
6
7extern_class!(
8    #[derive(Debug, PartialEq, Eq, Hash)]
9    #[cfg(feature = "CoreData_NSLightweightMigrationStage")]
10    pub struct NSLightweightMigrationStage;
11
12    #[cfg(feature = "CoreData_NSLightweightMigrationStage")]
13    unsafe impl ClassType for NSLightweightMigrationStage {
14        #[inherits(NSObject)]
15        type Super = NSMigrationStage;
16        type Mutability = InteriorMutable;
17    }
18);
19
20#[cfg(feature = "CoreData_NSLightweightMigrationStage")]
21unsafe impl NSObjectProtocol for NSLightweightMigrationStage {}
22
23extern_methods!(
24    #[cfg(feature = "CoreData_NSLightweightMigrationStage")]
25    unsafe impl NSLightweightMigrationStage {
26        #[cfg(all(feature = "Foundation_NSArray", feature = "Foundation_NSString"))]
27        #[method_id(@__retain_semantics Other versionChecksums)]
28        pub unsafe fn versionChecksums(&self) -> Id<NSArray<NSString>>;
29
30        #[method_id(@__retain_semantics Init init)]
31        pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
32
33        #[cfg(all(feature = "Foundation_NSArray", feature = "Foundation_NSString"))]
34        #[method_id(@__retain_semantics Init initWithVersionChecksums:)]
35        pub unsafe fn initWithVersionChecksums(
36            this: Allocated<Self>,
37            version_checksums: &NSArray<NSString>,
38        ) -> Id<Self>;
39    }
40);
41
42extern_methods!(
43    /// Methods declared on superclass `NSObject`
44    #[cfg(feature = "CoreData_NSLightweightMigrationStage")]
45    unsafe impl NSLightweightMigrationStage {
46        #[method_id(@__retain_semantics New new)]
47        pub unsafe fn new() -> Id<Self>;
48    }
49);