Struct objc::runtime::Object [] [src]

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

A type that represents an instance of a class.

Methods

impl Object
[src]

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.

Trait Implementations

impl Debug for Object
[src]

Formats the value using the given formatter.

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

Returns the Objective-C type encoding for Self.

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

Returns the Objective-C type encoding for Self.

impl Message for Object
[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