trait SubtableDigests<'a> {
const CACHES_COVERAGE: bool = false;
// Provided methods
fn digest_second(&self, _budget: &Budget) -> Result<SetDigest, Exhausted> { ... }
fn cache_cost(&self) -> u32 { ... }
}Expand description
What a lookup needs to know about one of its subtables.
Provided Associated Constants§
Sourceconst CACHES_COVERAGE: bool = false
const CACHES_COVERAGE: bool = false
Whether looking up the first glyph’s coverage gains from a cache.
Provided Methods§
Sourcefn digest_second(&self, _budget: &Budget) -> Result<SetDigest, Exhausted>
fn digest_second(&self, _budget: &Budget) -> Result<SetDigest, Exhausted>
The glyphs that may follow the first one in a match.
Sourcefn cache_cost(&self) -> u32
fn cache_cost(&self) -> u32
How much the subtable gains from the glyph-info class cache.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".