Skip to main content

Library

Trait Library 

Source
pub trait Library {
    // Required method
    unsafe fn load(memory: &mut SharedReferencesCache);
}

Required Methods§

Source

unsafe fn load(memory: &mut SharedReferencesCache)

Loads the library into the SharedReferencesCache

§Safety

The caller must guarantee that load is not called multiple times on the same memory for a library

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§