#[repr(C)]
pub struct NSObject<'data>(_);
Expand description

An instance of the root class for most Objective-C objects.

See documentation.

Implementations

Returns this object’s reference count.

This method is only useful for debugging certain objects.

See documentation.

Returns true if this object implements or inherits a method that can respond to a specified message.

See documentation.

Returns true if this object is an instance or subclass of class.

See documentation

Returns true if this object is an instance of class.

See documentation

Returns an integer that can be used as a table address in a hash table structure.

See documentation.

Returns a copy of this object using NSCopying.

See documentation.

Returns a copy of this object using NSMutableCopying.

See documentation.

Returns a string that describes the contents of this object.

See documentation

Returns a string that describes the contents of the receiver for presentation in the debugger.

See documentation

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Returns the Objective-C class that can be used to instantiate a new instance of Self. Read more

The resulting type after dereferencing.

Dereferences the value.

Increments the object’s retain count and returns a smart pointer that automatically calls release on Drop. Read more

Decrements the object’s retain count. Read more

Casts self into a type-erased Objective-C object.

Returns the class that this object is an instance of.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. 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.

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.