Trait iced_graphics::cache::Cached
source · pub trait Cached: Sized {
type Cache: Clone;
// Required methods
fn load(cache: &Self::Cache) -> Self;
fn cache(self, group: Group, previous: Option<Self::Cache>) -> Self::Cache;
}
Expand description
A piece of data that can be cached.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.