Trait read_fonts::tables::aat::LookupValue

source ·
pub trait LookupValue:
    Copy
    + Scalar
    + AnyBitPattern {
    // Required methods
    fn from_u16(v: u16) -> Self;
    fn from_u32(v: u32) -> Self;
}
Expand description

Trait for values that can be read from lookup tables.

Required Methods§

source

fn from_u16(v: u16) -> Self

source

fn from_u32(v: u32) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl LookupValue for u16

source§

fn from_u16(v: u16) -> Self

source§

fn from_u32(v: u32) -> Self

source§

impl LookupValue for u32

source§

fn from_u16(v: u16) -> Self

source§

fn from_u32(v: u32) -> Self

source§

impl LookupValue for GlyphId16

source§

fn from_u16(v: u16) -> Self

source§

fn from_u32(v: u32) -> Self

Implementors§