Add more Debug implementations
I generally like to implement Debug on these kind of types.
This commit is contained in:
parent
7d50d17369
commit
440d24ffa0
15 changed files with 38 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue