Searched refs:offset_of (Results 1 – 5 of 5) sorted by relevance
57 const OFFSET: usize = ::core::mem::offset_of!(Self, $($field).*) as usize;100 const OFFSET: usize = ::core::mem::offset_of!(Self, $field) as usize;
64 def offset_of(typeobj, field): function71 offset_of(typeobj, member)).cast(typeobj)
145 let offset: usize = ::core::mem::offset_of!($type, $($f)*);
505 const OFFSET: usize = ::core::mem::offset_of!(Self, $field) as usize;
216 pub const LIST_LINKS_SELF_PTR_OFFSET: usize = core::mem::offset_of!(Self, self_ptr);