use super::*;
#[derive(Clone, Copy, Debug, Default, Eq, Getter, New)]
pub struct GlyphKey {
#[get(type(copy))]
pub(crate) codepoint: char,
#[get(type(copy))]
pub(crate) size_tenths: u16,
#[get(type(copy))]
pub(crate) bold: bool,
#[new(skip)]
#[get(type(copy))]
pub(crate) monospace: bool,
#[new(skip)]
#[get(type(copy))]
pub(crate) italic: bool,
}
#[derive(Clone, Debug, Default, Eq, Getter, New, PartialEq)]
pub struct RasterizedGlyph {
#[get(type(copy))]
pub(crate) width: u32,
#[get(type(copy))]
pub(crate) height: u32,
#[get(type(copy))]
pub(crate) advance: u32,
pub(crate) coverage: Vec<u8>,
}