Function rustc_llvm::ffi::LLVMOffsetOfElement [] [src]

pub unsafe extern fn LLVMOffsetOfElement(TD: TargetDataRef,
                                         StructTy: TypeRef,
                                         Element: c_uint)
                                         -> c_ulonglong
🔬 This is a nightly-only experimental API. (rustc_private)

Computes the byte offset of the indexed struct element for a target.