Returns the metaclass of self.
(&self)
| 317 | |
| 318 | /// Returns the metaclass of self. |
| 319 | pub fn metaclass(&self) -> &Class { |
| 320 | unsafe { |
| 321 | let self_ptr: *const Class = self; |
| 322 | &*object_getClass(self_ptr as *const Object) |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | /// Returns the size of instances of self. |
| 327 | pub fn instance_size(&self) -> usize { |
no outgoing calls