pub trait AtlasBuilder: Sized {
    type AtlasType;

    fn with_font_file(self, font: String) -> Result<Self, &'static str>;
    fn with_pages(self, pages: Vec<Vec<u8>>) -> Self;
    fn build(self) -> Self::AtlasType;
}

Required Associated Types

Required Methods

Implementors