Struct rust_raylib::ffi::Font
source · #[repr(C)]pub struct Font {
pub baseSize: c_int,
pub glyphCount: c_int,
pub glyphPadding: c_int,
pub texture: Texture2D,
pub recs: *mut Rectangle,
pub glyphs: *mut GlyphInfo,
}Expand description
Font, font texture and GlyphInfo array data
Fields§
§baseSize: c_intBase size (default chars height)
glyphCount: c_intNumber of glyph characters
glyphPadding: c_intPadding around the glyph characters
texture: Texture2DTexture atlas containing the glyphs
recs: *mut RectangleRectangles in texture for the glyphs
glyphs: *mut GlyphInfoGlyphs info data
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Font
impl !Send for Font
impl !Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
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