Encapsulates all layout information associated with a glyph for a fixed scale.
Whole pixel offset of the left-most edge of the bitmap. This may be negative to reflect the glyph is positioned to the left of the origin.
Whole pixel offset of the bottom-most edge of the bitmap. This may be negative to refelct the glyph is positioned below the baseline.
The width of the bitmap in whole pixels.
The height of the bitmap in whole pixels.
Advance width of the glyph in subpixels. Used in horizontal fonts.
Advance height of the glyph in subpixels. Used in vertical fonts.
The bounding box that contains the glyph's outline at the offsets specified by the font. This is always a smaller box than the bitmap bounds.
impl StructuralPartialEq for Metrics[src]
impl RefUnwindSafe for Metrics
impl UnwindSafe for Metrics
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.