summaryrefslogtreecommitdiffstats
path: root/core/src/text.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-27 05:04:14 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-10-27 05:04:14 +0200
commit625cd745f38215b1cb8f629cdc6d2fa41c9a739a (patch)
treeaf96038ba4800937b3b3c7c0383cd47776bbb69c /core/src/text.rs
parent65823875791ecebf24d049cc0782e7475a37899b (diff)
downloadiced-625cd745f38215b1cb8f629cdc6d2fa41c9a739a.tar.gz
iced-625cd745f38215b1cb8f629cdc6d2fa41c9a739a.tar.bz2
iced-625cd745f38215b1cb8f629cdc6d2fa41c9a739a.zip
Write documentation for the new text APIs
Diffstat (limited to 'core/src/text.rs')
-rw-r--r--core/src/text.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/text.rs b/core/src/text.rs
index 9b9c753c..546d0b5c 100644
--- a/core/src/text.rs
+++ b/core/src/text.rs
@@ -204,6 +204,8 @@ pub trait Renderer: crate::Renderer {
color: Color,
);
+ /// Draws the given [`Editor`] at the given position and with the given
+ /// [`Color`].
fn fill_editor(
&mut self,
editor: &Self::Editor,