Trait SequenceRuleExt

Source
trait SequenceRuleExt {
    // Required methods
    fn would_apply(
        &self,
        ctx: &WouldApplyContext<'_>,
        match_func: &(dyn Fn(GlyphId, u16) -> bool + '_),
    ) -> bool;
    fn apply(
        &self,
        ctx: &mut hb_ot_apply_context_t<'_, '_>,
        match_func: &(dyn Fn(GlyphId, u16) -> bool + '_),
    ) -> Option<()>;
}

Required Methods§

Source

fn would_apply( &self, ctx: &WouldApplyContext<'_>, match_func: &(dyn Fn(GlyphId, u16) -> bool + '_), ) -> bool

Source

fn apply( &self, ctx: &mut hb_ot_apply_context_t<'_, '_>, match_func: &(dyn Fn(GlyphId, u16) -> bool + '_), ) -> Option<()>

Implementations on Foreign Types§

Source§

impl SequenceRuleExt for SequenceRule<'_>

Source§

fn would_apply( &self, ctx: &WouldApplyContext<'_>, match_func: &(dyn Fn(GlyphId, u16) -> bool + '_), ) -> bool

Source§

fn apply( &self, ctx: &mut hb_ot_apply_context_t<'_, '_>, match_func: &(dyn Fn(GlyphId, u16) -> bool + '_), ) -> Option<()>

Implementors§