summaryrefslogtreecommitdiffstats
path: root/native/src/widget/text.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-24 10:48:29 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-24 10:48:29 +0100
commit47196c9007d12d3b3e0036ffabe3bf6d14ff4523 (patch)
treea199cf8d2caaf6aa60e48e93d6dd0688969d43b0 /native/src/widget/text.rs
parent7760618fb112074bc40b148944521f312152012a (diff)
downloadiced-47196c9007d12d3b3e0036ffabe3bf6d14ff4523.tar.gz
iced-47196c9007d12d3b3e0036ffabe3bf6d14ff4523.tar.bz2
iced-47196c9007d12d3b3e0036ffabe3bf6d14ff4523.zip
Display widget images in documentation
Diffstat (limited to '')
-rw-r--r--native/src/widget/text.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/widget/text.rs b/native/src/widget/text.rs
index 01ffe8fd..cf9c9565 100644
--- a/native/src/widget/text.rs
+++ b/native/src/widget/text.rs
@@ -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,