Trait hb_set_digest_ext

Source
pub trait hb_set_digest_ext: Clone {
    type A;

    // Required methods
    fn new() -> Self;
    fn full() -> Self;
    fn add(&mut self, g: GlyphId);
    fn add_array(&mut self, array: impl IntoIterator<Item = GlyphId> + Clone);
    fn add_range(&mut self, a: GlyphId, b: GlyphId) -> bool;
    fn may_have(&self, o: &Self::A) -> bool;
    fn may_have_glyph(&self, g: GlyphId) -> bool;
}

Required Associated Types§

Source

type A

Required Methods§

Source

fn new() -> Self

Source

fn full() -> Self

Source

fn add(&mut self, g: GlyphId)

Source

fn add_array(&mut self, array: impl IntoIterator<Item = GlyphId> + Clone)

Source

fn add_range(&mut self, a: GlyphId, b: GlyphId) -> bool

Source

fn may_have(&self, o: &Self::A) -> bool

Source

fn may_have_glyph(&self, g: GlyphId) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const shift: u8> hb_set_digest_ext for hb_set_digest_bits_pattern_t<shift>

Source§

impl<head_t, tail_t> hb_set_digest_ext for hb_set_digest_combiner_t<head_t, tail_t>
where head_t: hb_set_digest_ext<A = head_t>, tail_t: hb_set_digest_ext<A = tail_t>,

Source§

type A = hb_set_digest_combiner_t<head_t, tail_t>