Struct objc::runtime::Class[][src]

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

A type that represents an Objective-C class.

Methods

impl Class
[src]

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

impl PartialEq for Class
[src]

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

This method tests for !=.

impl Eq for Class
[src]

impl Debug for Class
[src]

Formats the value using the given formatter. Read more

impl<'a> Encode for &'a Class
[src]

Returns the Objective-C type encoding for Self.

impl<'a> Encode for &'a mut Class
[src]

Returns the Objective-C type encoding for Self.

impl Message for Class
[src]

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

Auto Trait Implementations

impl Send for Class

impl Sync for Class