use crate::types::glyph::{GlyphKey, AtlasEntry};
pub trait Atlas: Send + Sync {
fn get_or_insert(&mut self, key: GlyphKey, glyph: &crate::types::glyph::RasterizedGlyph) -> AtlasEntry;
fn texture(&self) -> &wgpu::Texture;
fn flush(&mut self, queue: &wgpu::Queue);
fn clear(&mut self);
}