We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136418f commit fb7b3aeCopy full SHA for fb7b3ae
promkit/src/core/text/state.rs
@@ -6,7 +6,7 @@ use super::Text;
6
///
7
/// This state encapsulates the properties and
8
/// behaviors specific to text handling,
9
-#[derive(Clone)]
+#[derive(Clone, Default)]
10
pub struct State {
11
/// The text to be rendered.
12
pub text: Text,
0 commit comments