#[repr(C)]pub struct Panose {
pub family_type: u8,
pub serif_style: u8,
pub weight: u8,
pub proportion: u8,
pub contrast: u8,
pub stroke_variation: u8,
pub arm_style: u8,
pub letterform: u8,
pub midline: u8,
pub x_height: u8,
}Expand description
PANOSE classification values for font identification (10 bytes). See https://learn.microsoft.com/en-us/typography/opentype/spec/os2#panose
Fields§
§family_type: u8§serif_style: u8§weight: u8§proportion: u8§contrast: u8§stroke_variation: u8§arm_style: u8§letterform: u8§midline: u8§x_height: u8Implementations§
Trait Implementations§
Source§impl Ord for Panose
impl Ord for Panose
Source§impl PartialOrd for Panose
impl PartialOrd for Panose
impl Copy for Panose
impl Eq for Panose
impl StructuralPartialEq for Panose
Auto Trait Implementations§
impl Freeze for Panose
impl RefUnwindSafe for Panose
impl Send for Panose
impl Sync for Panose
impl Unpin for Panose
impl UnwindSafe for Panose
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