Trait gpui2::PlatformAtlas
source · pub trait PlatformAtlas: Send + Sync {
// Required methods
fn get_or_insert_with<'a>(
&self,
key: &AtlasKey,
build: &mut dyn FnMut() -> Result<(Size<DevicePixels>, Cow<'a, [u8]>)>
) -> Result<AtlasTile>;
fn clear(&self);
}