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