Struct rust_raylib::ffi::GlyphInfo
source · #[repr(C)]pub struct GlyphInfo {
pub value: c_int,
pub offsetX: c_int,
pub offsetY: c_int,
pub advanceX: c_int,
pub image: Image,
}Expand description
GlyphInfo, font characters glyphs info
Fields§
§value: c_intCharacter value (Unicode)
offsetX: c_intCharacter offset X when drawing
offsetY: c_intCharacter offset Y when drawing
advanceX: c_intCharacter advance position X
image: ImageCharacter image data
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GlyphInfo
impl !Send for GlyphInfo
impl !Sync for GlyphInfo
impl Unpin for GlyphInfo
impl UnwindSafe for GlyphInfo
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