pub struct Metrics {Show 20 fields
pub upem: i32,
pub asc: i32,
pub desc: i32,
pub gap: i32,
pub typo_asc: i32,
pub typo_desc: i32,
pub typo_gap: i32,
pub win_asc: i32,
pub win_desc: i32,
pub xh: i32,
pub caph: i32,
pub ul_pos: i32,
pub ul_thick: i32,
pub st_pos: i32,
pub st_thick: i32,
pub weight: i32,
pub flags: i32,
pub nglyphs: i32,
pub advmax: i32,
pub width: i32,
}Expand description
FONTMETRICS (font.inc): all values in font units (y up)
Fields§
§upem: i32§asc: i32§desc: i32§gap: i32§typo_asc: i32§typo_desc: i32§typo_gap: i32§win_asc: i32§win_desc: i32§xh: i32§caph: i32§ul_pos: i32§ul_thick: i32§st_pos: i32§st_thick: i32§weight: i32§flags: i32§nglyphs: i32§advmax: i32§width: i32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Metrics
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnsafeUnpin for Metrics
impl UnwindSafe for Metrics
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