image_cache

Function image_cache 

Source
pub fn image_cache(
    image_cache_provider: impl ImageCacheProvider,
) -> ImageCacheElement
Expand description

An image cache element, all its child img elements will use the cache specified by this element. Note that this could as simple as passing an Entity<T: ImageCache>