From 3dd5d610219ad52e51e121560a14b7af0fa1a8e8 Mon Sep 17 00:00:00 2001 From: Erin Date: Tue, 15 Aug 2017 17:00:18 -0500 Subject: [PATCH] update visibility for some struct fields --- textium/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/textium/src/lib.rs b/textium/src/lib.rs index 520d45e..e3e0c6a 100644 --- a/textium/src/lib.rs +++ b/textium/src/lib.rs @@ -38,14 +38,14 @@ pub struct GlyphMetadata { } pub struct FontAtlas { - glyph_data: HashMap + pub glyph_data: HashMap } pub struct FontTexture { /// The GPU texture of packed glyphs. - texture: Texture2d, + pub texture: Texture2d, /// Atlas describing where glyphs are. - atlas: FontAtlas, + pub atlas: FontAtlas, }