Struct CNPostalAddress Copy item path Source #[repr(C)]
pub struct CNPostalAddress {
pub ptr: Id <Object >,
}Expand description An immutable representation of the postal address for a contact.
The raw pointer to the Objective-C object.
The street name in a postal address.
The city name in a postal address.
The state name in a postal address.
The postal code in a postal address.
The country or region name in a postal address.
The ISO country code for the country or region in a postal address, using the ISO 3166-1 alpha-2 standard.
The subadministrative area (such as a county or other region) in a postal address.
Additional information associated with the location, typically defined at the city or town level, in a postal address.
Returns the class of self.
Returns a reference to the ivar of self with the given name.
Panics if self has no ivar with the given name.
Unsafe because the caller must ensure that the ivar is actually
of type T.
Returns a mutable reference to the ivar of self with the given name.
Panics if self has no ivar with the given name.
Unsafe because the caller must ensure that the ivar is actually
of type T.
Sets the value of the ivar of self with the given name.
Panics if self has no ivar with the given name.
Unsafe because the caller must ensure that the ivar is actually
of type T.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Formats the value using the given formatter.
Read more Returns the Objective-C type encoding for Self.
Returns
Self representation of the object.
Read more The street name in a postal address.
The city name in a postal address.
The state name in a postal address.
The postal code in a postal address.
The country or region name in a postal address.
The ISO country code for the country or region in a postal address, using the ISO 3166-1 alpha-2 standard.
The subadministrative area (such as a county or other region) in a postal address.
Additional information associated with the location, typically defined at the city or town level, in a postal address.
Returns the class object for the receiver’s class.
Returns the receiver.
Allocates a new instance of the receiving class, sends it an init message, and returns the initialized object.
Returns a new instance of the receiving class.
Initializes the class before it receives its first message.
Returns the class object for the receiver’s superclass.
Returns a Boolean value that indicates whether the receiver and a given object are equal.
Returns an integer that can be used as a table address in a hash table structure.
Returns a Boolean value that indicates whether the receiver is an instance of given class or an instance of any class that inherits from that class.
Returns a Boolean value that indicates whether the receiver is an instance of a given class.
Returns a Boolean value that indicates whether the receiver implements or inherits a method that can respond to a specified message.
Returns a Boolean value that indicates whether the receiver conforms to a given protocol.
A textual representation of the receiver.
A textual representation of the receiver to use with a debugger.
Sends a specified message to the receiver and returns the result of the message.
Sends a message to the receiver with an object as the argument.
Returns a Boolean value that indicates whether the receiver does not descend from NSObject.
Returns id representation of the object.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
🔬 This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.