Skip to main content

load_static_indirect

Function load_static_indirect 

Source
pub unsafe fn load_static_indirect<T: FromStatic>(
    rva: Rva,
) -> InstanceResult<*mut T>
Expand description

Loads a static reference to T from an Rva that points to a pointer to its memory.

ยงSafety

The caller must ensure that rva points to a pointer.