pub(crate) trait GlyphShapingResult {
// Required methods
fn len(&self) -> usize;
fn is_rtl(&self) -> bool;
fn iter(&self) -> impl Iterator<Item = ShapedGlyph>;
}Expand description
Holds the results of shaping. Abstracts over HarfBuzz and HarfRust which return data in very similar form but with different types
Required Methods§
Sourcefn iter(&self) -> impl Iterator<Item = ShapedGlyph>
fn iter(&self) -> impl Iterator<Item = ShapedGlyph>
An iterator of the shaped glyphs of this data.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".