diff options
author | 2020-04-23 22:17:11 +0200 | |
---|---|---|
committer | 2020-04-23 22:17:11 +0200 | |
commit | 0300b649d7f99bd63494a9672e3a295bca7ec5d7 (patch) | |
tree | 5c8371294c946bf3cf453aa9c04fd4937031e71b /wgpu/src/widget.rs | |
parent | 6786b8a3aaf87bd9875b2253ac0986f050cc8445 (diff) | |
download | iced-0300b649d7f99bd63494a9672e3a295bca7ec5d7.tar.gz iced-0300b649d7f99bd63494a9672e3a295bca7ec5d7.tar.bz2 iced-0300b649d7f99bd63494a9672e3a295bca7ec5d7.zip |
Make `Font` an associated type of `text::Renderer`
Diffstat (limited to 'wgpu/src/widget.rs')
-rw-r--r-- | wgpu/src/widget.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wgpu/src/widget.rs b/wgpu/src/widget.rs index c3a47dff..32ccad17 100644 --- a/wgpu/src/widget.rs +++ b/wgpu/src/widget.rs @@ -17,6 +17,8 @@ pub mod scrollable; pub mod slider; pub mod text_input; +mod text; + #[doc(no_inline)] pub use button::Button; #[doc(no_inline)] @@ -36,6 +38,8 @@ pub use slider::Slider; #[doc(no_inline)] pub use text_input::TextInput; +pub use text::Text; + #[cfg(feature = "canvas")] #[cfg_attr(docsrs, doc(cfg(feature = "canvas")))] pub mod canvas; |