Display widget images in documentation

This commit is contained in:
Héctor Ramón Jiménez 2019-11-24 10:48:29 +01:00
parent 7760618fb1
commit 47196c9007
4 changed files with 6 additions and 2 deletions

View file

@ -17,6 +17,8 @@ use std::hash::Hash;
/// .color([0.0, 0.0, 1.0])
/// .size(40);
/// ```
///
/// ![Text drawn by `iced_wgpu`](https://github.com/hecrj/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/text.png?raw=true)
#[derive(Debug, Clone)]
pub struct Text {
content: String,