Function read_resource

Source
pub unsafe fn read_resource<T>(identifier: impl AsRef<str>) -> Option<T>
Expand description

Reads a shared resource.

ยงSafety

The caller must ensure the data associated with the given identifier is of type T.