pub struct CxFontsAtlas {
pub texture_id: usize,
pub texture_size: Vec2,
pub clear_buffer: bool,
pub alloc_xpos: f32,
pub alloc_ypos: f32,
pub alloc_hmax: f32,
pub atlas_todo: Vec<CxFontsAtlasTodo>,
}Fields§
§texture_id: usize§texture_size: Vec2§clear_buffer: bool§alloc_xpos: f32§alloc_ypos: f32§alloc_hmax: f32§atlas_todo: Vec<CxFontsAtlasTodo>Implementations§
Source§impl CxFontsAtlas
impl CxFontsAtlas
pub fn alloc_atlas_glyph( &mut self, path: &str, w: f32, h: f32, ) -> CxFontAtlasGlyph
Trait Implementations§
Source§impl Default for CxFontsAtlas
impl Default for CxFontsAtlas
Source§fn default() -> CxFontsAtlas
fn default() -> CxFontsAtlas
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CxFontsAtlas
impl RefUnwindSafe for CxFontsAtlas
impl Send for CxFontsAtlas
impl Sync for CxFontsAtlas
impl Unpin for CxFontsAtlas
impl UnwindSafe for CxFontsAtlas
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more