Struct imgui::FontAtlasTexture
source · pub struct FontAtlasTexture<'a> {
pub width: u32,
pub height: u32,
pub data: &'a [u8],
}
Expand description
Handle to a font atlas texture
Fields§
§width: u32
Texture width (in pixels)
height: u32
Texture height (in pixels)
data: &'a [u8]
Raw texture data (in bytes).
The format depends on which function was called to obtain this data.
Trait Implementations§
source§impl<'a> Clone for FontAtlasTexture<'a>
impl<'a> Clone for FontAtlasTexture<'a>
source§fn clone(&self) -> FontAtlasTexture<'a>
fn clone(&self) -> FontAtlasTexture<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more