#[repr(C)]
pub struct Class { /* private fields */ }

Implementations

Returns the class definition of a specified class, or None if the class is not registered with the Objective-C runtime.

Obtains the list of registered class definitions.

Returns the total number of registered classes.

Returns the name of self.

Returns the superclass of self, or None if self is a root class.

Returns the metaclass of self.

Returns the size of instances of self.

Returns a specified instance method for self, or None if self and its superclasses do not contain an instance method with the specified selector.

Returns the ivar for a specified instance variable of self, or None if self has no ivar with the given name.

Describes the instance methods implemented by self.

Checks whether this class conforms to the specified protocol.

Get a list of the protocols to which this class conforms.

Describes the instance variables declared by self.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the Objective-C type encoding for Self.
Returns the Objective-C type encoding for Self.
Sends a message to self with the given selector and arguments. Read more
Verifies that the argument and return types match the encoding of the method for the given selector. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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.