objc2_contacts/generated/
CNContainer_Predicates.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9#[cfg(feature = "CNContainer")]
16impl CNContainer {
17 extern_methods!(
18 #[unsafe(method(predicateForContainersWithIdentifiers:))]
19 #[unsafe(method_family = none)]
20 pub unsafe fn predicateForContainersWithIdentifiers(
21 identifiers: &NSArray<NSString>,
22 ) -> Retained<NSPredicate>;
23
24 #[unsafe(method(predicateForContainerOfContactWithIdentifier:))]
26 #[unsafe(method_family = none)]
27 pub unsafe fn predicateForContainerOfContactWithIdentifier(
28 contact_identifier: &NSString,
29 ) -> Retained<NSPredicate>;
30
31 #[unsafe(method(predicateForContainerOfGroupWithIdentifier:))]
32 #[unsafe(method_family = none)]
33 pub unsafe fn predicateForContainerOfGroupWithIdentifier(
34 group_identifier: &NSString,
35 ) -> Retained<NSPredicate>;
36 );
37}