diff --git a/crates/engine/src/mocked.rs b/crates/engine/src/mocked.rs index a5d28ba2b..3c47f2a89 100644 --- a/crates/engine/src/mocked.rs +++ b/crates/engine/src/mocked.rs @@ -1100,6 +1100,14 @@ pub enum RectWidthStyle { pub struct LineMetrics; +impl LineMetrics { + pub fn get_style_metrics(&'a self, range: Range) -> Vec<(usize, &'a StyleMetrics)> { + unimplemented!("This is mocked") + } +} + +pub struct StyleMetrics; + pub struct GlyphClusterInfo; pub struct TextBox {