logo
pub enum ReverseChainSingleSubst {
    Format1 {
        coverage: Rc<Coverage>,
        backtrack_coverages: Vec<Rc<Coverage>>,
        lookahead_coverages: Vec<Rc<Coverage>>,
        substitute_glyphs: Vec<u16>,
    },
}
Expand description

GSUB Lookup Type 8 Subtable Formats

Variants

Format1

Fields

coverage: Rc<Coverage>

Coverage table for the single input glyph

backtrack_coverages: Vec<Rc<Coverage>>

Array of backtrack sequence coverages, ordered by glyph sequence

lookahead_coverages: Vec<Rc<Coverage>>

Array of lookahead sequence coverages, ordered by glyph sequence

substitute_glyphs: Vec<u16>

Array of substitute glyphs, ordered by coverage index

Format 1

Implementations

Apply the substitution to the supplied glyph

Trait Implementations

Parse a GSUB Lookup Type 8 Subtable from the given read context

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.