Struct allsorts_no_std::layout::Ligature[][src]

pub struct Ligature {
    pub ligature_glyph: u16,
    pub component_glyphs: Vec<u16>,
}

Fields

ligature_glyph: u16component_glyphs: Vec<u16>

Implementations

impl Ligature[src]

pub fn matches<T>(
    &self,
    match_type: MatchType,
    opt_gdef_table: Option<&GDEFTable>,
    i: usize,
    glyphs: &[RawGlyph<T>]
) -> bool
[src]

pub fn apply<T: GlyphData>(
    &self,
    match_type: MatchType,
    opt_gdef_table: Option<&GDEFTable>,
    i: usize,
    glyphs: &mut Vec<RawGlyph<T>>
) -> usize
[src]

Trait Implementations

impl<'a> ReadBinary<'a> for Ligature[src]

type HostType = Self

Auto Trait Implementations

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<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

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.