pub trait ICNContainer: PNSObject {
// Provided methods
fn p_name(&self) -> NSString { ... }
fn p_identifier(&self) -> NSString { ... }
fn p_type_(&self) -> CNContainerType { ... }
fn m_predicate_for_container_of_contact_identifier(
identifier: NSString,
) -> NSPredicate { ... }
fn m_predicate_for_containers_with_identifiers(
identifiers: NSArray<NSString>,
) -> NSPredicate { ... }
fn m_predicate_for_container_of_group_with_identifier(
identifier: NSString,
) -> NSPredicate { ... }
}
Expand description
A trait containing all the methods for CNContainer
Provided Methods§
Sourcefn p_identifier(&self) -> NSString
fn p_identifier(&self) -> NSString
The unique identifier for a contacts container on the device.
Sourcefn p_type_(&self) -> CNContainerType
fn p_type_(&self) -> CNContainerType
The type of the container.
Sourcefn m_predicate_for_container_of_contact_identifier(
identifier: NSString,
) -> NSPredicate
fn m_predicate_for_container_of_contact_identifier( identifier: NSString, ) -> NSPredicate
Returns a predicate to find the container of the specified contact.
Sourcefn m_predicate_for_containers_with_identifiers(
identifiers: NSArray<NSString>,
) -> NSPredicate
fn m_predicate_for_containers_with_identifiers( identifiers: NSArray<NSString>, ) -> NSPredicate
Returns a predicate to find the containers with the specified identifiers.
Sourcefn m_predicate_for_container_of_group_with_identifier(
identifier: NSString,
) -> NSPredicate
fn m_predicate_for_container_of_group_with_identifier( identifier: NSString, ) -> NSPredicate
Returns a predicate to find the container of the specified group.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.