pub trait Library {
// Required method
unsafe fn load(memory: &mut SharedReferencesCache);
}Required Methods§
Sourceunsafe fn load(memory: &mut SharedReferencesCache)
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".