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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".