MCPcopy Create free account
hub / github.com/SSheldon/rust-objc / class

Method class

src/runtime.rs:462–466  ·  view source on GitHub ↗

Returns the class of self.

(&self)

Source from the content-addressed store, hash-verified

460impl Object {
461 /// Returns the class of self.
462 pub fn class(&self) -> &Class {
463 unsafe {
464 &*object_getClass(self)
465 }
466 }
467
468 /// Returns a reference to the ivar of self with the given name.
469 /// Panics if self has no ivar with the given name.

Callers 4

get_ivarMethod · 0.80
get_mut_ivarMethod · 0.80
verify_messageMethod · 0.80
send_messageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected