Make Font an associated type of text::Renderer

This commit is contained in:
Héctor Ramón Jiménez 2020-04-23 22:17:11 +02:00
parent 6786b8a3aa
commit 0300b649d7
9 changed files with 45 additions and 23 deletions

7
wgpu/src/widget/text.rs Normal file
View file

@ -0,0 +1,7 @@
//! Write some text for your users to read.
use crate::Renderer;
/// A paragraph of text.
///
/// This is an alias of an `iced_native` text with an `iced_wgpu::Renderer`.
pub type Text = iced_native::Text<Renderer>;