FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Panose

    struct · ferroui-base · v0.5.0

    struct Panose
    

    The PANOSE classification of a font (the ten bytes stored in the OS/2 table).

    View source

    Members

    new

    const fn new(b0: u8, b1: u8, b2: u8, b3: u8, b4: u8, b5: u8, b6: u8, b7: u8, b8: u8, b9: u8) -> Self
    

    Source

    load

    fn load(reader: &mut BigEndianBinaryReader<'_>) -> Result<Panose, FontTableError>
    

    Source

    family_kind

    fn family_kind(self: &Self) -> PanoseFamilyKind
    

    Source

    serif_style

    fn serif_style(self: &Self) -> PanoseSerifStyle
    

    Source

    weight

    fn weight(self: &Self) -> PanoseWeight
    

    Source

    proportion

    fn proportion(self: &Self) -> PanoseProportion
    

    Source

    contrast

    fn contrast(self: &Self) -> PanoseContrast
    

    Source

    stroke_variation

    fn stroke_variation(self: &Self) -> PanoseStrokeVariation
    

    Source

    arm_style

    fn arm_style(self: &Self) -> PanoseArmStyle
    

    Source

    letterform

    fn letterform(self: &Self) -> PanoseLetterform
    

    Source

    midline

    fn midline(self: &Self) -> PanoseMidline
    

    Source

    x_height

    fn x_height(self: &Self) -> PanoseXHeight
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.