pub enum Metrics {
Embedded(EmbeddedMetrics),
HmtxVmtx(OriginOffset),
}
Expand description
Bitmap glyph metrics either embedded or from hmtx
/vmtx
.
Variants
Embedded(EmbeddedMetrics)
Metrics were embedded with the bitmap.
HmtxVmtx(OriginOffset)
Metrics are available in the hmtx
and vmtx
tables.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more