Browse Source

update visibility for some struct fields

master
Erin 8 years ago
parent
commit
3dd5d61021
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      textium/src/lib.rs

+ 3
- 3
textium/src/lib.rs View File

@ -38,14 +38,14 @@ pub struct GlyphMetadata {
}
pub struct FontAtlas {
glyph_data: HashMap<char, GlyphMetadata>
pub glyph_data: HashMap<char, GlyphMetadata>
}
pub struct FontTexture {
/// The GPU texture of packed glyphs.
texture: Texture2d,
pub texture: Texture2d,
/// Atlas describing where glyphs are.
atlas: FontAtlas,
pub atlas: FontAtlas,
}

Loading…
Cancel
Save