pub struct matcher_t {
lookup_props: u32,
mask: u32,
ignore_zwnj: bool,
ignore_zwj: bool,
ignore_hidden: bool,
per_syllable: bool,
}Fields§
§lookup_props: u32§mask: u32§ignore_zwnj: bool§ignore_zwj: bool§per_syllable: boolImplementations§
Source§impl matcher_t
impl matcher_t
fn new(ctx: &hb_ot_apply_context_t<'_>, context_match: bool) -> Self
fn may_match( &self, info: &mut GlyphInfo, glyph_data: u32, match_func: Option<&impl Fn(&mut GlyphInfo, u32) -> bool>, syllable: u8, ) -> may_match_t
fn may_skip( &self, info: &GlyphInfo, face: &hb_font_t<'_>, lookup_props: u32, ) -> may_skip_t
Trait Implementations§
Auto Trait Implementations§
impl Freeze for matcher_t
impl RefUnwindSafe for matcher_t
impl Send for matcher_t
impl Sync for matcher_t
impl Unpin for matcher_t
impl UnsafeUnpin for matcher_t
impl UnwindSafe for matcher_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more