Trait ICNContainer

Source
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§

Source

fn p_name(&self) -> NSString

The name of the container.

Source

fn p_identifier(&self) -> NSString

The unique identifier for a contacts container on the device.

Source

fn p_type_(&self) -> CNContainerType

The type of the container.

Source

fn m_predicate_for_container_of_contact_identifier( identifier: NSString, ) -> NSPredicate

Returns a predicate to find the container of the specified contact.

Source

fn m_predicate_for_containers_with_identifiers( identifiers: NSArray<NSString>, ) -> NSPredicate

Returns a predicate to find the containers with the specified identifiers.

Source

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.

Implementors§