ttf_parser::opentype_layout

Trait LookupSubtable

source
pub trait LookupSubtable<'a>: Sized {
    // Required method
    fn parse(data: &'a [u8], kind: u16) -> Option<Self>;
}
Expand description

A trait for parsing Lookup subtables.

Internal use only.

Required Methods§

source

fn parse(data: &'a [u8], kind: u16) -> Option<Self>

Parses raw data.

Object Safety§

This trait is not object safe.

Implementors§