pub struct FontGlyphMetrics {
pub width: i32,
pub height: i32,
pub depth: i32,
}Expand description
Metrics of one glyph in scaled points.
Fields§
§width: i32Horizontal advance.
height: i32Height above the baseline.
depth: i32Depth below the baseline.
Trait Implementations§
Source§impl Clone for FontGlyphMetrics
impl Clone for FontGlyphMetrics
impl Copy for FontGlyphMetrics
Source§impl Debug for FontGlyphMetrics
impl Debug for FontGlyphMetrics
Source§impl Default for FontGlyphMetrics
impl Default for FontGlyphMetrics
impl Eq for FontGlyphMetrics
Source§impl PartialEq for FontGlyphMetrics
impl PartialEq for FontGlyphMetrics
impl StructuralPartialEq for FontGlyphMetrics
Auto Trait Implementations§
impl Freeze for FontGlyphMetrics
impl RefUnwindSafe for FontGlyphMetrics
impl Send for FontGlyphMetrics
impl Sync for FontGlyphMetrics
impl Unpin for FontGlyphMetrics
impl UnsafeUnpin for FontGlyphMetrics
impl UnwindSafe for FontGlyphMetrics
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