Enum allsorts_no_std::layout::PairPos[][src]

pub enum PairPos {
    Format1 {
        coverage: Rc<Coverage>,
        pairsets: Vec<PairSet>,
    },
    Format2 {
        coverage: Rc<Coverage>,
        classdef1: Rc<ClassDef>,
        classdef2: Rc<ClassDef>,
        class2_count: usize,
        class1_records: Vec<Class1Record>,
    },
}

Variants

Format1

Fields of Format1

coverage: Rc<Coverage>pairsets: Vec<PairSet>
Format2

Fields of Format2

coverage: Rc<Coverage>classdef1: Rc<ClassDef>classdef2: Rc<ClassDef>class2_count: usizeclass1_records: Vec<Class1Record>

Implementations

impl PairPos[src]

pub fn apply(
    &self,
    glyph1: u16,
    glyph2: u16
) -> Result<Option<(ValueRecord, ValueRecord)>, ParseError>
[src]

Trait Implementations

impl<'a> ReadBinaryDep<'a> for PairPos[src]

type HostType = Self

type Args = LayoutCache<GPOS>

Auto Trait Implementations

impl !RefUnwindSafe for PairPos

impl !Send for PairPos

impl !Sync for PairPos

impl Unpin for PairPos

impl UnwindSafe for PairPos

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.