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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§