pub trait UntypedAssetProvider: Sync + Send {
    fn get(&self, handle: UntypedHandle) -> *const u8;
    fn get_mut(&mut self, handle: UntypedHandle) -> *mut u8;
}
Expand description

Trait implemented for asset providers that can return untyped pointers to their assets.

Required Methods§

Returns a read-only pointer to the asset for the given handle, or a null pointer if it doesn’t exist.

Returns a mutable-only pointer to the asset for the given handle, or a null pointer if it doesn’t exist.

Implementors§