Skip to main content

Module asset

Module asset 

Source
Expand description

On-demand resources owned by a UI session.

Pass generated assets to components or retain a resource and observe its loading state.

Structs§

Asset
A generated, immutable asset reference.
FontAsset
A font resource and the Unicode ranges that request it as a fallback.
Resource
A shared resource lifetime. Retain it while observing its loading state.

Enums§

LoadState
A resource that may still be loading.
Source
Where a resource’s bytes come from.