Skip to main content

Apply

Trait Apply 

Source
pub trait Apply {
    // Provided methods
    fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()> { ... }
    fn apply_with_external_cache(
        &self,
        ctx: &mut hb_ot_apply_context_t<'_>,
        _external_cache: &SubtableExternalCache,
    ) -> Option<()> { ... }
    fn apply_cached(
        &self,
        ctx: &mut hb_ot_apply_context_t<'_>,
        external_cache: &SubtableExternalCache,
    ) -> Option<()> { ... }
    fn cache_cost(&self) -> u32 { ... }
    fn external_cache_create(
        &self,
        mode: SubtableExternalCacheMode,
    ) -> SubtableExternalCache { ... }
}
Expand description

Apply a lookup.

Provided Methods§

Implementations on Foreign Types§

Source§

impl Apply for CursivePosFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for MarkBasePosFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for MarkLigPosFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for MarkMarkPosFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for PairPosFormat1<'_>

Source§

impl Apply for PairPosFormat2<'_>

Source§

impl Apply for SinglePosFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for SinglePosFormat2<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for AlternateSet<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for AlternateSubstFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for Ligature<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for LigatureSubstFormat1<'_>

Source§

impl Apply for MultipleSubstFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for ReverseChainSingleSubstFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for SingleSubstFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for SingleSubstFormat2<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for ChainedSequenceContextFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for ChainedSequenceContextFormat2<'_>

Source§

impl Apply for ChainedSequenceContextFormat3<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for SequenceContextFormat1<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Source§

impl Apply for SequenceContextFormat2<'_>

Source§

impl Apply for SequenceContextFormat3<'_>

Source§

fn apply(&self, ctx: &mut hb_ot_apply_context_t<'_>) -> Option<()>

Implementors§