pub struct MatchType { /* private fields */ }
Implementations
sourceimpl MatchType
impl MatchType
pub fn ignore_marks() -> MatchType
pub fn marks_only() -> MatchType
pub fn from_lookup_flag(lookup_flag: LookupFlag) -> MatchType
pub fn match_glyph<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyph: &G
) -> bool
pub fn find_prev<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyphs: &[G],
index: usize
) -> Option<usize>
pub fn find_next<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyphs: &[G],
index: usize
) -> Option<usize>
pub fn find_nth<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyphs: &[G],
index: usize,
count: usize
) -> Option<usize>
pub fn find_first<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyphs: &[G]
) -> Option<usize>
pub fn match_back<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyph_table: &GlyphTable<'_>,
glyphs: &[G],
index: usize
) -> bool
pub fn match_front<G: Glyph>(
self,
opt_gdef_table: Option<&GDEFTable>,
glyph_table: &GlyphTable<'_>,
glyphs: &[G],
index: usize,
last_index: &mut usize
) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MatchType
impl Send for MatchType
impl Sync for MatchType
impl Unpin for MatchType
impl UnwindSafe for MatchType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more