Type Alias cosmic::iced_widget::canvas::Cache

source ·
pub type Cache<Renderer = Renderer> = Cache<Renderer>;
Expand description

A simple cache that stores generated Geometry to avoid recomputation.

A Cache will not redraw its geometry unless the dimensions of its layer change or it is explicitly cleared.

Aliased Type§

struct Cache<Renderer = Renderer> { /* private fields */ }