usecrate::types::glyph::RasterizedGlyph;usecrate::types::shaped_glyph::ShapedGlyph;/// A trait for components that can rasterize glyphs into pixel data.
pubtraitRasterizer: Send + Sync {/// Renders a single shaped glyph into a bitmap.
/// Returns None if the glyph could not be rasterized.
fnrasterize(&mutself, glyph:&ShapedGlyph)->Option<RasterizedGlyph>;}