Struct allsorts_no_std::context::MatchType[][src]

pub struct MatchType { /* fields omitted */ }

Implementations

impl MatchType[src]

pub fn ignore_marks() -> MatchType[src]

pub fn marks_only() -> MatchType[src]

pub fn from_lookup_flag(lookup_flag: LookupFlag) -> MatchType[src]

pub fn match_glyph<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyph: &G
) -> bool
[src]

pub fn find_prev<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyphs: &[G],
    index: usize
) -> Option<usize>
[src]

pub fn find_next<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyphs: &[G],
    index: usize
) -> Option<usize>
[src]

pub fn find_nth<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyphs: &[G],
    index: usize,
    count: usize
) -> Option<usize>
[src]

pub fn find_first<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyphs: &[G]
) -> Option<usize>
[src]

pub fn match_back<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyph_table: &GlyphTable<'_>,
    glyphs: &[G],
    index: usize
) -> bool
[src]

pub fn match_front<G: Glyph>(
    self,
    opt_gdef_table: Option<&GDEFTable>,
    glyph_table: &GlyphTable<'_>,
    glyphs: &[G],
    index: usize,
    last_index: &mut usize
) -> bool
[src]

Trait Implementations

impl Clone for MatchType[src]

impl Copy for MatchType[src]

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<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.