Merge pull request #153 from forkgull/more-debug

Add more Debug implementations
This commit is contained in:
Jeremy Soller 2023-07-24 09:45:58 -06:00 committed by GitHub
commit bd58940c42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 38 additions and 1 deletions

View file

@ -52,6 +52,7 @@ pub struct LayoutGlyph {
pub metadata: usize,
}
#[derive(Debug)]
pub struct PhysicalGlyph {
/// Cache key, see [CacheKey]
pub cache_key: CacheKey,
@ -81,6 +82,7 @@ impl LayoutGlyph {
}
/// A line of laid out glyphs
#[derive(Debug)]
pub struct LayoutLine {
/// Width of the line
pub w: f32,