cosmic::iced_widget::canvas

Type Alias 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 */ }