pub struct GlyphInfo {
pub uv_min: Vec2,
pub uv_max: Vec2,
pub size: Vec2,
pub bearing: Vec2,
pub advance: f32,
}Fields§
§uv_min: Vec2UV rect in the atlas texture.
uv_max: Vec2§size: Vec2Pixel size of the glyph bitmap.
bearing: Vec2Left/bottom bearing in pixels.
advance: f32How far to advance the cursor after this glyph.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlyphInfo
impl RefUnwindSafe for GlyphInfo
impl Send for GlyphInfo
impl Sync for GlyphInfo
impl Unpin for GlyphInfo
impl UnsafeUnpin 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