Skip to main content

SubtableDigests

Trait SubtableDigests 

Source
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§

Source

const CACHES_COVERAGE: bool = false

Whether looking up the first glyph’s coverage gains from a cache.

Provided Methods§

Source

fn digest_second(&self, _budget: &Budget) -> Result<SetDigest, Exhausted>

The glyphs that may follow the first one in a match.

Source

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".

Implementors§