load_static_indirect

Function load_static_indirect 

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

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

ยงSafety

This has all the same safety requirements as FromStatic::instance. In addition, the caller must ensure that rva points to a pointer that is either null or points to a valid, initialized instance of T.