pub trait Shaper {
// Required method
fn shape_segment(
&self,
segment: &TextSegment,
font: &FontMatch,
direction: BidiDirection,
) -> Vec<GlyphInfo>;
}pub trait Shaper {
// Required method
fn shape_segment(
&self,
segment: &TextSegment,
font: &FontMatch,
direction: BidiDirection,
) -> Vec<GlyphInfo>;
}