MCPcopy Index your code
hub / github.com/SSheldon/rust-objc / offset

Method offset

src/runtime.rs:214–219  ·  view source on GitHub ↗

Returns the offset of self.

(&self)

Source from the content-addressed store, hash-verified

212
213 /// Returns the offset of self.
214 pub fn offset(&self) -> isize {
215 let offset = unsafe {
216 ivar_getOffset(self)
217 };
218 offset as isize
219 }
220
221 /// Returns the `Encoding` of self.
222 pub fn type_encoding(&self) -> Encoding {

Callers 2

get_ivarMethod · 0.80
get_mut_ivarMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected