WIP: Icons not yet rendering

This commit is contained in:
Nathan Sobo 2023-09-05 16:40:52 -06:00
parent 6cb9cf70b7
commit 85aedf9bed
8 changed files with 126 additions and 29 deletions

View file

@ -90,6 +90,14 @@ impl<V: 'static> Element<V> for Text {
}
}
impl<V: 'static> IntoElement<V> for Text {
type Element = Self;
fn into_element(self) -> Self::Element {
self
}
}
pub struct TextLayout {
line_layout: Arc<LineLayout>,
line_height: f32,