MCPcopy Create free account
hub / github.com/amethyst/distill / indirection_table

Method indirection_table

loader/src/loader.rs:1174–1176  ·  view source on GitHub ↗

Returns a reference to the loader's [`IndirectionTable`]. When a user fetches an asset by LoadHandle, implementors of [`AssetStorage`] should resolve LoadHandles where [`LoadHandle::is_indirect`] returns true by using [`IndirectionTable::resolve`]. IndirectionTable is Send + Sync + Clone so that it can be retrieved once at startup, then stored in implementors of [`AssetStorage`].

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

runFunction · 0.80
runFunction · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected