Struct nuklear_rust::NkFontAtlas
[−]
[src]
pub struct NkFontAtlas { /* fields omitted */ }
Methods
impl NkFontAtlas
[src]
fn new(alloc: &mut NkAllocator) -> NkFontAtlas
fn add_font_with_config(&mut self, cfg: &NkFontConfig) -> Result<NkFont, NkError>
fn add_font_with_bytes(&mut self, font_bytes: &[u8], font_size: f32) -> Result<NkFont, NkError>
fn bake<'a>(&'a mut self, format: NkFontAtlasFormat) -> (&'a [u8], u32, u32)
fn end(&mut self, hnd: NkHandle, null_texture: Option<&mut NkDrawNullTexture>)
fn clear(&mut self)
fn begin(&mut self)
Trait Implementations
impl Clone for NkFontAtlas
[src]
fn clone(&self) -> NkFontAtlas
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more